Skip to content

On Value Argument

Identifier onValue
Allows Multiple false

The onValue argument lets specify a custom on value for the toggle input.

Values

The input field argument onValue accepts the following value configurations.

  • onValue(value: any)
    • value is the value for the off state

Allowed Input Fields

The input field argument onValue is allowed in the following input fields.

Examples

INPUT[toggle(onValue(on), offValue(off)):bind_target]