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

32 lines (31 loc) 1.12 kB
import { EventEmitter } from '../../stencil-public-runtime'; /** * A customizable alert component used to inform the user about important events */ export declare class ModusWcAlert { private inheritedAttributes; /** Reference to the host element */ el: HTMLElement; /** The description of the alert. */ alertDescription?: string; /** The title of the alert. */ alertTitle: string; /** Custom CSS class to apply to the outer div element. */ customClass?: string; /** Whether the alert has a dismiss button */ dismissible?: boolean; /** The Modus icon to render. */ icon?: string; /** The variant of the alert. */ variant?: 'error' | 'info' | 'success' | 'warning'; /** Role taken by the alert. Defaults to 'status' */ role: 'alert' | 'log' | 'marquee' | 'status' | 'timer'; /** An event that fires when the alert is dismissed */ dismissClick: EventEmitter; componentWillLoad(): void; private getClasses; private getLeadingIcon; dismissElement(): void; elementKeyupHandler(event: KeyboardEvent): void; render(): any; }