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
|
Full Usage:
Enabled
Field type: bool
|
|
|
|
Full Usage:
IsOn
Field type: bool
|
|
Full Usage:
OnToggle
Field type: (bool -> 'msg) option
|
|
Full Usage:
Text
Field type: string
|
|