Plugin.ScrollSpy Class
A plugin for updating the active element of a list based on the scroll position
of a certain node. Plug it into a scrollable node (usually the body) and set the
target
attribute to the list.
Constructor
Plugin.ScrollSpy
(
-
[config]
Parameters:
-
[config]
Object optionalObject literal containing configuration options
Methods
refresh
()
Recalculates the current active node in the list and resets the active CSS class names.
Properties
NS
String
static
Plugin namespace.
Default: 'scrollspy'