13 lines
448 B
JavaScript
13 lines
448 B
JavaScript
import { LitElement } from '@lion/core';
|
|
import { ValidateMixin, InteractionStateMixin, FocusMixin } from '@lion/form-core';
|
|
import { ListboxMixin } from './ListboxMixin.js';
|
|
|
|
// TODO: could we extend from LionField?
|
|
|
|
/**
|
|
* LionListbox: implements the wai-aria listbox design pattern and integrates it as a Lion
|
|
* FormControl
|
|
*/
|
|
export class LionListbox extends ListboxMixin(
|
|
FocusMixin(InteractionStateMixin(ValidateMixin(LitElement))),
|
|
) {}
|