Class representing a slider setting.

Param: o

The slider options

Param: o.min

The slider's minimum range

Param: o.max

The slider's maximum range

Param: o.step

The steps the slider takes when being dragged

Param: o.defaultValue

The slider's default value

Hierarchy

  • BaseSetting
    • SliderSetting

Constructors

Properties

defaultValue: number

The component's default value

element: Element

The element of the component

id: string

The HTML ID of the component

max: number

The slider's maximum range

min: number

The slider's minimum range

name: string

The name of the component

step: number

The steps the slider takes when being dragged

triggerElement: Element

The main element that the component is triggered from

Generated using TypeDoc