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.

39 lines (38 loc) 1.11 kB
import { LitElement } from 'lit'; /** * Represents a navigation drawer item. * * @element igc-nav-drawer-item * * @slot content - The content slot for the drawer item. * @slot icon - The slot for the icon of the drawer item. * * @csspart base - The base wrapper of the drawer item. * @csspart icon - The icon container. * @csspart content - The content container. */ export default class IgcNavDrawerItemComponent extends LitElement { static readonly tagName = "igc-nav-drawer-item"; static styles: import("lit").CSSResult[]; static register(): void; /** * Determines whether the drawer is disabled. * @attr */ disabled: boolean; /** * Determines whether the drawer is active. * @attr */ active: boolean; private _textLength; private _text; protected navdrawerIcon: Array<Node>; protected createRenderRoot(): HTMLElement | DocumentFragment; protected render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'igc-nav-drawer-item': IgcNavDrawerItemComponent; } }