API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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?: booleanInitial state. Default false.
height?: numberTrack height in pixels. Default 24.
knobInset?: numberGap between the knob and the track edge, in pixels. Default 3.
label?: stringText drawn beside the control; omitted draws the control alone.
labelGap?: numberGap between the control and its label, in pixels. Default 8.
Text style overrides on top of the skin's.
width?: numberTrack width in pixels. Default 44.
Source