Module: skia-elements/checkbox-sk

checkbox-sk

The checkbox-sk and element contains a native 'input' element in light DOM so that it can participate in a form element.

Each element also supports the following attributes exactly as the native checkbox element:

  • checked
  • disabled
  • name

All the normal events of a native checkbox are supported.

Attributes
Name Description
label A string, with no markup, that is to be used as the label for the checkbox. If you wish to have a label with markup then set 'label' to the empty string and create your own label element in the DOM with the 'for' attribute set to match the name of the checkbox-sk.
Properties:
Name Type Description
checked boolean This mirrors the checked attribute.
disabled boolean This mirrors the disabled attribute.
disabled string This mirrors the name attribute.
disabled string This mirrors the label attribute.
Source: