Co-authored-by: Alex Ghiu <alex.ghiu@ing.com> Co-authored-by: Gerjan van Geest <Gerjan.van.Geest@ing.com> Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com> Co-authored-by: Joren Broekema <joren.broekema@ing.com> Co-authored-by: Erik Kroes <erik.kroes@ing.com>
16 lines
518 B
Markdown
16 lines
518 B
Markdown
# ChoiceInputMixin
|
|
|
|
[//]: # 'AUTO INSERT HEADER PREPUBLISH'
|
|
|
|
`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
|