import { LionInput } from '@lion/input'; import { ChoiceInputMixin } from '@lion/choice-input'; /** * Lion-radio can be used inside a lion-radio-group. * * * * * * * * * * * * You can preselect an option by setting marking an lion-radio checked. * Example: * * * * @customElement * @extends ChoiceInputMixin(LionInput) */ export class LionRadio extends ChoiceInputMixin(LionInput) { connectedCallback() { if (super.connectedCallback) super.connectedCallback(); this.type = 'radio'; } }