If this is null: The next/previous slide will not be reached unless you drag for more than half the slider's width.
If this is a number: Dragging any slide for more than this distance in pixels will slide to the next slide in the desired direction.
Private
lastXLast drag event position
Private
startXWhere the dragging started
Reference to the slider this plugin is attached to.
Unique Plugin ID, used as index in ScrollSnapSlider::plugins
.
Private
onPrivate
getPrivate
mousePrivate
startPrivate
stopGenerated using TypeDoc
Classdesc
Plugin that enables mouse/pointer drag. Note, that touch interaction is enabled natively in all browsers.