JeToggle | <je-toggle>
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
labelPlacement | label-placement | If the label should be placed at the start or end of the toggle | "end" | "start" | 'end' |
originalValue | original-value | Original value form will reset to | boolean | undefined |
value | value | Whether or not the toggle is active | boolean | false |
Events
Event | Description | Type |
---|---|---|
valueChange | Emits the new value whenever toggle is clicked | CustomEvent<boolean> |
Built with StencilJS