The constructor function used to create message boxes.
The css zIndex that the last dialog was displayed at.
Adds (or replaces) a dialog context.
The name of the context to add.
Closes the dialog associated with the specified object.
The object whose dialog should be closed.
Gets the dialog context by name or returns the default context if no name is specified.
True context.
Gets the dialog model that is associated with the specified object.
The object for whom to retrieve the dialog.
The dialog model.
Gets the next css zIndex at which a dialog should be displayed.
number
The next usable zIndex.
Installs this module into Durandal; called by the framework. Adds app.showDialog
and app.showMessage
convenience methods.
Determines whether or not there are any dialogs open.
boolean
True if a dialog is open. false otherwise.
Shows a dialog.
The object (or moduleId) to display as a dialog.
A promise that resolves when the dialog is closed and returns any data passed at the time of closing.
Shows a message box.
The message to display in the dialog.
A promise that resolves when the message box is closed and returns the selected option.
Shows a message box.
The message to display in the dialog.
A promise that resolves when the message box is closed and returns the selected option.