lion/packages/option
CircleCI 4025dd0149 chore: release new versions
- @lion/ajax@0.2.2
 - @lion/button@0.5.2
 - @lion/calendar@0.6.3
 - @lion/checkbox-group@0.5.2
 - @lion/checkbox@0.3.2
 - @lion/choice-input@0.5.2
 - @lion/core@0.4.2
 - @lion/dialog@0.4.2
 - @lion/field@0.8.2
 - @lion/fieldset@0.6.2
 - @lion/form-system@0.3.4
 - @lion/form@0.4.2
 - @lion/helpers@0.2.2
 - @lion/icon@0.3.2
 - @lion/input-amount@0.5.2
 - @lion/input-date@0.5.2
 - @lion/input-datepicker@0.8.3
 - @lion/input-email@0.5.2
 - @lion/input-iban@0.5.3
 - @lion/input-range@0.2.2
 - @lion/input@0.5.2
 - @lion/localize@0.8.2
 - @lion/option@0.4.2
 - @lion/overlays@0.11.2
 - @lion/radio-group@0.5.2
 - @lion/radio@0.3.2
 - @lion/select-rich@0.9.2
 - @lion/select@0.5.2
 - @lion/steps@0.3.2
 - @lion/switch@0.5.2
 - @lion/tabs@0.2.2
 - @lion/textarea@0.5.3
 - @lion/tooltip@0.7.2
 - @lion/validate@0.6.2
2020-01-20 09:50:23 +00:00
..
src feat: update to latest overlay system 2019-10-10 17:14:49 +02:00
stories feat: improved storybook demos 2020-01-13 13:58:03 +01:00
test feat: update to latest overlay system 2019-10-10 17:14:49 +02:00
CHANGELOG.md chore: release new versions 2020-01-20 09:50:23 +00:00
index.js feat: add lion-select-rich 2019-07-25 17:21:36 +02:00
lion-option.js feat: add lion-select-rich 2019-07-25 17:21:36 +02:00
package.json chore: release new versions 2020-01-20 09:50:23 +00:00
README.md feat: improved storybook demos 2020-01-13 13:58:03 +01:00

Option

lion-option is a selectable within a lion-select-rich

Live Demo/Documentation

See our storybook for a live demo and API documentation

How to use

Installation

npm i --save @lion/option
import '@lion/option/lion-option.js';

Example

<lion-option .choiceValue=${'hotpink'} checked>Hotpink</lion-option>

You can also set the full modelValue for each option.

<lion-option .modelValue=${{ value: 'red', checked: false }}>Red</lion-option>

This component should not be used standalone. It is not accessible unless it is a child of a listbox-like element.

For more details on usage, please see lion-select-rich.