Abstract class used for plugins, that extend the slider's behaviour.

Hierarchy (view full)

Constructors

Properties

Accessors

Methods

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

  • Add listeners, compute things and enable the desired behaviour. Override this with custom behaviour.

    Returns void

  • Remove listeners, clean up dependencies and free up memory. Override this with custom behaviour.

    Returns void

Generated using TypeDoc