Class: DialogView

.Presentation. DialogView


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

Properties:
Name Type Description
body
Source:

<static> buttons

buttons object property - the buttons to match to functions

Properties:
Name Type Description
buttons
Source:

<static> name

name property - the name of the dialog (required)

Properties:
Name Type Description
name
Source:

<static> style

style property - the style (form, alert, bigForm, or whatever class you want)

Properties:
Name Type Description
style
Source:

<static> title

title property - the title of the dialog

Properties:
Name Type Description
title
Source:

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: