Reference Source
import ModalManager from 'flarum/components/ModalManager'
public class | source

ModalManager

Extends:

src/common/Component.js~Component → ModalManager

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.

Method Summary

Public Methods
public
public

animateShow(readyCallback: *)

public

oncreate(vnode: *)

public

view(): *

Public Methods

public animateHide() source

public animateShow(readyCallback: *) source

Params:

NameTypeAttributeDescription
readyCallback *

public oncreate(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public view(): * source

Return:

*