Slider interface

Hierarchy

Properties

Classes: string[]

Additional CSS classes to add to the control.

Enabled: boolean

Enabled state of the UI element. When the type supports this, the UI element will be disabled when set to false.

Id: string

The id of the UI element.

Max: number

The maximum value of the control.

Min: number

The minimum value of the control.

Name: string

Name of the UI element. For form fields that would be the name otherwise used for reference only.

OnChange: ((number) => void)

Type declaration

    • (number): void
    • Change event of the slider when the value is changed.

      Parameters

      Returns void

ParentClasses: string[]

Additional CSS classes to add to the parent control when supported.

ShowValue: boolean

Flag indicating if the numerical value should be shown next to the slider. Defaults to true.

StandardClasses: string[]

The standard classes of the control. Modify this property only if you know what you are doing.

Step: number

The step value of the control. Use 1 for integer values.

Tags: string[]

Tags for the UI element. Used for reference only.

TextDirection: TextFieldTextDirection

The text direction of the UI element. Defaults to Inherit, meaning it will use the editor default.

ToolTip?: string

Tooltip text of the UI element.

Type: "Slider"

The type of the UI element. Always "Slider".

Value: number

The current numeric value of the control.

Visible: boolean

Visibility flag of the UI element. When not visible it will be hidden from the UI.

Generated using TypeDoc