API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceToggleOptions

@codexo/exojs / ui / stable

Options for Toggle.

7
props
0
methods
0
events
Import
import { ToggleOptions } from '@codexo/exojs'

Options for Toggle.

Properties7
checked?: boolean
Initial state. Default false.
height?: number
Track height in pixels. Default 24.
knobInset?: number
Gap between the knob and the track edge, in pixels. Default 3.
label?: string
Text drawn beside the control; omitted draws the control alone.
labelGap?: number
Gap between the control and its label, in pixels. Default 8.
width?: number
Track width in pixels. Default 44.
Source