CheckBox

A check box widget. Includes Widget

Properties

selection

Type: boolean, default: false

The checked state of the check box.

text

Type: string

The label text of the check box.

Events

“change:selection” (widget, selection, options)

Parameters:

  • widget: this
  • selection: boolean, the new value of selection.
  • options: any

Fired when the check box is checked or unchecked.

“select” (widget, selection, options)

Parameters:

  • widget: this
  • selection: boolean, the new value of selection.
  • options: any

Fired when the check box is checked or unchecked by the user.

See also