Logo FS-Skia-UI

ToggleButtonProps<'msg> Type

Immutable, compiler-checked authoring surface for a stateful on/off button. `IsOn` is the product-owned pressed state (mirroring `CheckBox`); `OnToggle` is dispatched with the NEXT state on activation and lowers to NO binding when `None`.

Record fields

Record Field Description

Enabled

Full Usage: Enabled

Field type: bool
Field type: bool

Id

Full Usage: Id

Field type: ControlId option
Field type: ControlId option

IsOn

Full Usage: IsOn

Field type: bool
Field type: bool

OnToggle

Full Usage: OnToggle

Field type: (bool -> 'msg) option
Field type: (bool -> 'msg) option

Text

Full Usage: Text

Field type: string
Field type: string

Type something to start searching.