Plugin to loop around to the first slide at the end and to the last slide at the start All slides should have a unique and numeric data-index attribute.
data-index
Reference to the slider this plugin is attached to.
Unique Plugin ID, used as index in ScrollSnapSlider::plugins.
ScrollSnapSlider::plugins
Add listeners, compute things and enable the desired behaviour. Override this with custom behaviour.
Remove listeners, clean up dependencies and free up memory. Override this with custom behaviour.
Private
Remove snapping behaviour
Add snapping behaviour
Move last slide to the start of the slider.
Move first slide to the end of the slider.
Determine which slide to move where and apply the change.
Sort items to their initial position after disabling
Generated using TypeDoc
Plugin to loop around to the first slide at the end and to the last slide at the start All slides should have a unique and numeric
data-index
attribute.