14 lines
477 B
Markdown
14 lines
477 B
Markdown
# ChoiceInputMixin
|
|
|
|
`lion-choice-input` mixin is a fundamental building block of form controls which return a checked-state. It is used in:
|
|
|
|
- [lion-checkbox](../checkbox/)
|
|
- [lion-option](../option/))
|
|
- [lion-radio](../radio/))
|
|
- [lion-switch](../switch/))
|
|
|
|
## Features
|
|
|
|
- Get or set the value of the choice - `choiceValue()`
|
|
- Get or set the modelValue (value and checked-state) of the choice - `.modelValue`
|
|
- Pre-select an option by setting the `checked` boolean attribute
|