mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 14:20:47 +08:00
20 lines
374 B
TypeScript
20 lines
374 B
TypeScript
|
export default class ModalManagerState {
|
||
|
modal: {
|
||
|
componentClass: any;
|
||
|
attrs: any;
|
||
|
} | null;
|
||
|
/**
|
||
|
* Show a modal dialog.
|
||
|
*
|
||
|
* @public
|
||
|
*/
|
||
|
public show(componentClass: any, attrs: any): void;
|
||
|
/**
|
||
|
* Close the modal dialog.
|
||
|
*
|
||
|
* @public
|
||
|
*/
|
||
|
public close(): void;
|
||
|
closeTimeout: number | undefined;
|
||
|
}
|