GitHub

Reference machines

slider

interface 2 type 4 function 1
interface Interfaces 2

# CreateSliderInput

Members

defaultValue?
optional defaultValue?: number
disabled?
optional disabled?: boolean
max?
optional max?: number
min?
optional min?: number
orientation?
optional orientation?: SliderOrientation
pageStep?
optional pageStep?: number

PageUp/PageDown step. Default = step * 10.

step?
optional step?: number
type Type Aliases 4

# SliderEvent

SliderEvent = { type: "INCREMENT"; } | { type: "DECREMENT"; } | { type: "PAGE_INCREMENT"; } | { type: "PAGE_DECREMENT"; } | { type: "TO_MIN"; } | { type: "TO_MAX"; } | { type: "SET.VALUE"; value: number; } | { type: "SET.MIN"; value: number; } | { type: "SET.MAX"; value: number; } | { type: "SET.STEP"; value: number; } | { type: "SET.PAGE_STEP"; value: number; } | { type: "SET.ORIENTATION"; value: SliderOrientation; } | { type: "DISABLE"; } | { type: "ENABLE"; }
function Functions 1

# createSliderMachine ( )

createSliderMachine(input?): SliderMachine

Construct a fresh Slider machine.

Parameters

input?
CreateSliderInput = {}

Returns

SliderMachine