w1c-checkbox

Checkbox

Use w1c-checkbox for labelled binary settings.

import '@w1c/components/checkbox';
<w1c-checkbox name="monitoring" checked>Enable monitoring</w1c-checkbox>

API

  • name
  • value
  • checked
  • disabled
  • required
  • invalid

Slots

  • default content

Events

  • change

CSS Parts

  • label
  • control
  • checkbox
  • text