Skip to content

ui/Modals

Classes

Modals

Defined in: ui/Modals.ts:14

Wires the header/footer buttons of the standard modals to the modal manager.

Modal registration and close ("X") buttons are handled by ModalManager itself (it auto-registers every [id$="-modal"] element on DOM ready and wires their .modal-close buttons); this class only adds the wiring that is specific to individual modals.

Constructors

Constructor
new Modals(): Modals;

Defined in: ui/Modals.ts:17

Returns

Modals

Methods

forceInitialize()
forceInitialize(): void;

Defined in: ui/Modals.ts:57

Idempotent manual initialization, called from App in case the DOM-ready callback has not fired yet.

Returns

void

Variables

modals

const modals: Modals;

Defined in: ui/Modals.ts:63