SUI.dialog

The SUI.dialog namspace holds a set of common dialog boxes.

The SUI.dialog namespaces contains a set of common dialog boxes. All are based on the SUI.Window class. You'll find here (asynchronious) substitutes for JavaScript's alert, confirm and prompt popup boxes. There's also the typical calendar dialog and an empty dialog with an OK and cancel button that you can use as a base for your own dialogs.

Defined in: SUI.js


Classes

Name Description

Alert

Show a modal dialog with user defined text and an OK button.

Calendar

Show a modal dialog for date and/or time selection.

Confirm

Show a modal dialog with user defined text and an OK and Cancel button.

OKCancelDialog

Create an OK/Cancel dialog.

Prompt

Show a modal dialog with user defined text, an input field and an ok and cancel button.