UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

30 lines 1.13 kB
import { html, LitElement } from 'lit'; import { addThemingController } from '../../theming/theming-controller.js'; import { addInternalsController } from '../common/controllers/internals.js'; import { registerComponent } from '../common/definitions/register.js'; import IgcListHeaderComponent from './list-header.js'; import IgcListItemComponent from './list-item.js'; import { styles } from './themes/container.base.css.js'; import { all } from './themes/container.js'; import { styles as shared } from './themes/shared/container/list.common.css.js'; class IgcListComponent extends LitElement { static register() { registerComponent(IgcListComponent, IgcListItemComponent, IgcListHeaderComponent); } constructor() { super(); addThemingController(this, all); addInternalsController(this, { initialARIA: { role: 'list', }, }); } render() { return html `<slot></slot>`; } } IgcListComponent.tagName = 'igc-list'; IgcListComponent.styles = [styles, shared]; export default IgcListComponent; //# sourceMappingURL=list.js.map