@jsvision/ui / ModalDialogHost
Interface: ModalDialogHost
Defined in: ui/src/dialog/message-box.ts:26
The minimal host a modal helper needs: an event loop to run the modal, a desktop to mount it into, and the service that owns framework text. An Application from createApplication() satisfies this directly; passing the app itself keeps those seams together.
Properties
desktop
desktop:
Pick<Desktop,"addWindow"|"removeWindow"|"bounds">
Defined in: ui/src/dialog/message-box.ts:32
The desktop the modal mounts into (and whose extent bounds it).
i18n
readonlyi18n:I18n
Defined in: ui/src/dialog/message-box.ts:28
Translation service for package-owned dialog text.
loop
loop:
Pick<EventLoop,"execView">
Defined in: ui/src/dialog/message-box.ts:30
Runs a view modally, resolving to the command that closed it.