Sticky nav.
Methods
(static) .createButton()
Create the toggle button if it doesn't already exist.
(static) .destroy()
Set to prepared desktop state, the local variables to their initial state and remove the event listener
(static) .init()
Initialise the sticky nav.
(static) .setTitle(text)
Set the title.
Parameters:
Name | Type | Description |
---|---|---|
text |
string | the plain text title |