An on/off toggle control

Attributes:

Bindings:

  • value
  • onToggle (command + params)

Example:

{ control: "toggle", caption: "Is On", binding: "isSwitchOn" }
{ control: "toggle", caption: "Is On", binding: { value: "isSwitchOn", onToggle: "wasToggled" } }