Methods for updating current scroll position in Table of Contents. This namespace is poorly named.
Methods
bind(bool)
Bind document scroll event to TOC position update
Parameters:
Name | Type | Description |
---|---|---|
bool |
boolean | Bind or unbind |
init()
Initialize scroll bindings
update() → {boolean}
Update location marker in Table of Contents based on current scroll position
Returns:
success
- Type
- boolean