@umbraco-ui/uui-modal
Version:
Umbraco UI modal component
21 lines (20 loc) • 804 B
TypeScript
import { LitElement } from 'lit';
export declare const UUIModalOpenEvent = "uui:modal-open";
export declare const UUIModalCloseEvent = "uui:modal-close";
export declare const UUIModalCloseEndEvent = "uui:modal-close-end";
export declare class UUIModalElement extends LitElement {
protected _dialogElement?: HTMLDialogElement;
isOpen: boolean;
isClosing: boolean;
index: number;
uniqueIndex: number;
private _transitionDuration;
get transitionDuration(): number;
set transitionDuration(value: number);
protected firstUpdated(_changedProperties: Map<string | number | symbol, unknown>): void;
open: (event?: Event) => void;
close: (event?: Event) => void;
protected _openModal(): void;
forceClose(): void;
static styles: import("lit").CSSResult[];
}