UNPKG

@trimble-oss/moduswebcomponents

Version:

Modus Web Components is a modern, accessible UI library built with Stencil JS that provides reusable web components following Trimble's Modus design system. This updated version focuses on improved flexibility, enhanced theming options, comprehensive cust

29 lines (28 loc) 920 B
import { EventEmitter } from '../../stencil-public-runtime'; import { ModusSize } from '../types'; export interface IBreadcrumb { /** The text to render in the breadcrumb. */ label: string; /** The URL emitted when the breadcrumb is clicked. */ url?: string; } /** * A customizable breadcrumbs component used to help users navigate through a website. */ export declare class ModusWcBreadcrumbs { private inheritedAttributes; /** Reference to the host element */ el: HTMLElement; /** The breadcrumbs to render. */ items: IBreadcrumb[]; /** Custom CSS class to apply to the inner div. */ customClass?: string; /** The size of the breadcrumbs. */ size?: ModusSize; /** Event emitted when a breadcrumb is clicked. */ breadcrumbClick: EventEmitter<IBreadcrumb>; componentWillLoad(): void; private getClasses; private handleClick; render(): any; }