# ef-toggle

Form control that can toggle between 2 states

## Properties

| Property       | Attribute       | Type      | Default | Description                |
|----------------|-----------------|-----------|---------|----------------------------|
| `checked`      | `checked`       | `boolean` | false   | Value of toggle            |
| `checkedLabel` | `checked-label` | `string`  | ""      | Label of the checked state |
| `disabled`     | `disabled`      | `boolean` | false   | Set disabled state         |
| `label`        | `label`         | `string`  | ""      | Label of toggle            |
| `readonly`     | `readonly`      | `boolean` | false   | Set readonly state         |

## Events

| Event             | Description                                      |
|-------------------|--------------------------------------------------|
| `checked-changed` | Fired when user interacts with the control to check or uncheck. The event is not triggered if `checked` property is changed programmatically. |
