Plugin that enables mouse/pointer drag. Note, that touch interaction is enabled natively in all browsers.

Hierarchy (View Summary)

Constructors

Properties

Accessors

Methods

Constructors

Properties

quickSwipeDistance: number

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.

Reference to the slider this plugin is attached to.

Accessors

  • get id(): string
  • Unique Plugin ID, used as index in ScrollSnapSlider::plugins.

    Returns string

Methods