Extends
Methods
clear()
#
Clear tracked elements
Clear tracked elements
observe(element)
#
Observe an element for visibility changes
observeFullPageButton(element)
#
Observe full page button for visibility changes
setOutsideSectionState(state)
#
Set state for suggestions outside current section. For use on mobile.
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
state |
Object
|
null
|
State object Properties:
|
Set state for suggestions outside current section.
update()
#
Update classes based on the visibility of the tracked elements.
Update classes based on the visibility of the tracked elements.