framework/js/dist-typings/common/states/ModalManagerState.d.ts
flarum-bot c3a684c7ed Bundled output for commit 3537f76eab
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-12 23:29:46 +00:00

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;
}