Initialises polyfill for sticky funtionality
see https://github.com/wilddeer/stickyfill
- Source:
Methods
(static) .destroy(context)
Remove all Stickyfill bindings and added classes
Parameters:
Name | Type | Description |
---|---|---|
context |
Node | DOM element we're limiting selection to |
- Source:
(static) .init(contextopt)
Initialise plugin.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
context |
Node |
<optional> |
document | DOM element we're limiting selection to |
- Source: