@progressive-development/pd-dialog
Version:
Progressive Development dialog components.
37 lines • 952 B
TypeScript
import { LitElement, CSSResultGroup } from 'lit';
import { PdDialogButton } from '../types';
/**
* @tagname pd-popup-dialog
*/
export declare class PdPopupDialog extends LitElement {
/**
* Typ des Popups: info | warn | error | help
*/
type: string;
/**
* Titel, der im Header angezeigt wird
*/
title: string;
/**
* Konfigurierbare Buttons mit Text, Key und optionalem Status
*/
buttons: PdDialogButton[];
closeByEscape: boolean;
static styles: CSSResultGroup;
connectedCallback(): void;
disconnectedCallback(): void;
render(): import('lit').TemplateResult<1>;
private _onButtonClick;
private _renderIcon;
/**
* Öffnet das Popup-Dialog manuell
*/
showPopup(): void;
/**
* Schließt das Popup-Dialog manuell
*/
hidePopup(): void;
private _setModalDisplay;
private _handleKeyDown;
}
//# sourceMappingURL=PdPopupDialog.d.ts.map