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.15 kB
/** * A customizable modal component used to display content in a dialog. * * This component supports 'header', 'content', and 'footer' `<slot>` elements for inserting custom HTML. */ export declare class ModusWcModal { private inheritedAttributes; /** Reference to the host element */ el: HTMLElement; /** * The modal's backdrop. * Specify 'static' for a backdrop that doesn't close the modal when clicked outside the modal content. */ backdrop?: 'default' | 'static'; /** Custom CSS class to apply */ customClass?: string; /** Specifies whether the modal should be displayed full-screen */ fullscreen?: boolean; /** The ID of the inner dialog element */ modalId: string; /** Specifies the position of the modal */ position?: 'bottom' | 'center' | 'top'; /** Specifies whether to show the close icon button at the top right of modal */ showClose?: boolean; /** Specifies whether to show the fullscreen toggle icon button */ showFullscreenToggle?: boolean; componentWillLoad(): void; private closeDialog; private getClasses; render(): any; }