LmnModalDialogState
Generic types: | C D |
State object for the modal dialog.
Presentation
type LmnModalDialogState = {
instance: LmnModalDialogComponent | undefined;
componentRef: ComponentRef <LmnModalDialogComponent > | null;
content: C | null;
contentRef: ComponentRef <C> | null;
data: D | null;
show: () => void;
hide: () => void;
onOpen: (callback: () => void) => void;
onClose: (callback: () => void) => void;
destroy: () => void;
};