@lion/choice-input

Base for all choise inputs like checkbox/radio

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@lion/choice-input
1,5011070.9.13 years ago4 years agoMinified + gzip package size for @lion/choice-input in KB

Readme

ChoiceInputMixin
lion-choice-input mixin is a fundamental building block of form controls which return a checked-state. It is used in:

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