Helper to make sliders elements

Hierarchy

  • Slider

Constructors

Accessors

Methods

Constructors

  • Parameters

    • container: HTMLElement

      main container of the sliding element

    • direction: SliderDirection

      direction of the slider

    • listener: ((data) => void)

      callback when the user interacts with the slider

        • (data): void
        • callback when the user interacts with the slider

          Parameters

          Returns void

    Returns Slider

Accessors

Methods

Generated using TypeDoc