lion/packages/listbox/src/LionOptions.js
Thijs Louisse 01a798e59e feat(combobox): new package combobox
Co-authored-by: Joren Broekema <Joren.Broekema@ing.com>
2020-09-30 19:33:34 +02:00

31 lines
553 B
JavaScript

import { LitElement } from '@lion/core';
import { FormRegistrarPortalMixin } from '@lion/form-core';
/**
* LionOptions
*/
export class LionOptions extends FormRegistrarPortalMixin(LitElement) {
static get properties() {
return {
role: {
type: String,
reflect: true,
},
tabIndex: {
type: Number,
reflect: true,
attribute: 'tabindex',
},
};
}
constructor() {
super();
this.role = 'listbox';
this.tabIndex = 0;
}
createRenderRoot() {
return this;
}
}