new DialogView()
A automatic dialog view - creates a dialog with simple configurations to customize
- Source:
Extends
Members
-
<static> body
-
body property - the body of the dialog, handled by setBody method
- Source:
Properties:
Name Type Description body
-
<static> buttons
-
buttons object property - the buttons to match to functions
- Source:
Properties:
Name Type Description buttons
-
<static> name
-
name property - the name of the dialog (required)
- Source:
Properties:
Name Type Description name
-
<static> style
-
style property - the style (form, alert, bigForm, or whatever class you want)
- Source:
Properties:
Name Type Description style
-
<static> title
-
title property - the title of the dialog
- Source:
Properties:
Name Type Description title
Methods
-
<static> cancel(event)
-
cancel - standard built-in cancel callback. Calls close method by default
Parameters:
Name Type Description event
Event Event passed in
- Source:
-
<static> close(event)
-
close - standard built-in close callback. Closes the dialog, triggers the 'close' event
Parameters:
Name Type Description event
Event Event passed in
- Source:
-
<static> open(event)
-
open - standard built-in open callback. Calls render method by default
Parameters:
Name Type Description event
Event Event passed in
- Source:
-
<static> render()
-
render - render the dialog
- Source:
-
<static> setBody(body)
-
setBody - sets the body content of the dialog
Parameters:
Name Type Description body
String A string value of th body (supports HTML)
- Source:
-
<static> template()
-
template - sets content of the dialog, handled internally
- Source: