UNPKG

@claromentis/design-system

Version:

Claromentis Design System Component Library

50 lines (49 loc) 1.05 kB
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime'; import { CssClassMap, Size } from '../../interfaces'; /** * @slot - Link or title content */ export declare class NavItem implements ComponentInterface { /** * The Host element **/ el: HTMLElement; /** * Whether nav tabs is active. */ active: false; /** * Whether to display nav items as link or titles in block mode (this attribute will not work in the list is in inline mode) */ navtitle: false; /** * nav tab href link . */ href: any; /** * nav tab name & id - fills the 'data-name' and 'id' attributes of the `<li>` */ name: any; /** * Emitted when nav item loads. */ claNavItemDidLoad: EventEmitter; /** * The nav tab size. */ size?: Size; private isinline; private inline; componentDidLoad(): void; componentWillLoad(): void; /** * Get the map of CSS classes for the nav tabs. * * @return CssClassMap */ getClassMap(): CssClassMap; hostData(): { role: string; }; render(): any; }