mirror of
https://github.com/flarum/core.git
synced 2025-08-07 08:56:38 +02:00
Bundled output for commit 7db2d0f697
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
import Component from '../Component';
|
||||
import type Mithril from 'mithril';
|
||||
import type ModalManagerState from '../states/ModalManagerState';
|
||||
interface IModalManagerAttrs {
|
||||
state: ModalManagerState;
|
||||
}
|
||||
/**
|
||||
* The `ModalManager` component manages a modal dialog. Only one modal dialog
|
||||
* can be shown at once; loading a new component into the ModalManager will
|
||||
* overwrite the previous one.
|
||||
*/
|
||||
export default class ModalManager extends Component<import("../Component").ComponentAttrs, undefined> {
|
||||
constructor();
|
||||
animateShow(readyCallback: any): void;
|
||||
export default class ModalManager extends Component<IModalManagerAttrs> {
|
||||
view(): JSX.Element;
|
||||
oncreate(vnode: Mithril.VnodeDOM<IModalManagerAttrs, this>): void;
|
||||
animateShow(readyCallback: () => void): void;
|
||||
animateHide(): void;
|
||||
}
|
||||
import Component from "../Component";
|
||||
export {};
|
||||
|
Reference in New Issue
Block a user