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.

Hierarchy (view full)

Constructors

Properties

Reference to the slider this plugin is attached to.

Accessors

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

    Returns string

    See

Methods

  • Determine which slide to move where and apply the change.

    Returns void

  • Sort items to their initial position after disabling

    Parameters

    • a: HTMLOrSVGElement
    • b: HTMLOrSVGElement

    Returns number

Generated using TypeDoc