UNPKG

@universal-material/web

Version:
40 lines 1.08 kB
import { HTMLTemplateResult } from 'lit'; import { UmButtonWrapper } from '../shared/button-wrapper.js'; export declare class UmDrawerItem extends UmButtonWrapper { static styles: import("lit").CSSResultGroup[]; /** * Whether the drawer item has icon or not * * _Note:_ Readonly */ hasIcon: boolean; /** * Whether the drawer item has badge or not * * _Note:_ Readonly */ hasBadge: boolean; /** * Whether the drawer item is active or not * * _Note:_ Readonly */ active: boolean; /** * If true, it will not attempt to close de navigation drawer on click */ keepDrawerOpen: boolean; private readonly assignedIcons; private readonly assignedBadges; connectedCallback(): void; protected renderContent(): HTMLTemplateResult; private handleIconSlotChange; private handleBadgeSlotChange; handleClick(): void; } declare global { interface HTMLElementTagNameMap { 'u-drawer-item': UmDrawerItem; } } //# sourceMappingURL=drawer-item.d.ts.map