On Value
| Identifier | onValue |
| Allows Multiple | false |
Description
Section titled “Description”The onValue argument lets specify a custom on value for the toggle input.
See also the offValue argument.
Values
Section titled “Values”The input field argument onValue accepts the following value configurations.
-
onValue(value: any)-
valueis the value for the off state
-
Allowed Input Fields
Section titled “Allowed Input Fields”
The input field argument onValue can be used on the following input fields.
Examples
Section titled “Examples”INPUT[toggle(onValue(on), offValue(off)):bind_target]