Augmented.js Next Presentation - Dialog Components
- DialogView
- ConfirmationDialogView
- AlertDialogView
- Notification
- Splash
- ErrorDialogView
- MessageDialogView
- AboutDialogView
Extends DecoratorView
A automatic dialog view - creates a dialog with simple configurations to customize</br/>
supports title, body, style, and buttons as options
buttons are defined as an object with key as name, value as function to call
options
Object Options to pass to the class
isOpen property (readonly)
Returns boolean true on open
title property - the title of the dialog
title
style property - the style (form, alert, bigForm, or whatever class you want)
style
buttons object property - the buttons to match to functions
buttons
buttons
Object
Body - sets the body content of the dialog
body
body
String A string value of th body (supports HTML)
render - render the dialog
cancel - standard built-in cancel callback. Calls close method by default
event
Event Event passed in
open - standard built-in open callback. Calls render method by default
event
Event Event passed in
close - standard built-in close callback. Closes the dialog, triggers the 'close' event
event
Event Event passed in
Extends DialogView
A automatic comfirmation dialog view - creates a dialog with yes no buttons
options
Extends DialogView
A automatic alert dialog view - creates a dialog with cancel button and a message
options
Extends DialogView
Notification
options
Options to pass
options passed are: timeOut, name, style
Extends DecoratorView
Splash Screen View
options
Options to pass
options passed are: title, subTitle, subSubTitle, name, style, and figureStyle
Extends AlertDialogView
A automatic error dialog view - creates a dialog ok button
options
Extends AlertDialogView
A automatic message dialog view - creates a dialog ok button
options
Extends DialogView
A automatic about dialog view - creates a dialog with cancel button and a message.
Pass the following options for pre-formated dialog:
- description
- author
- version
- website
options