Class M.DialogView
Extends
M.View
This is the prototype of any dialog view. It is responsible for showing and later
hiding a dialog..
Defined in: dialog.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
Contains the ids of the button's within a dialog.
|
|
The dialog's callback, split in target / action.
|
|
The type of this object.
|
Method Attributes | Method Name and Description |
---|---|
actionSheet(obj)
This method creates an actionSheet dialog based on the given customizing parameters and
initiates its displaying on the screen.
|
|
alert(obj)
This method creates an alert dialog based on the given customizing parameters and
initiates its displaying on the screen.
|
|
confirm(obj)
This method creates an confirm dialog based on the given customizing parameters and
initiates its displaying on the screen.
|
Field Detail
{Array}
buttonIds
Contains the ids of the button's within a dialog. They are used to later register a click
event to all of these views.
{Object}
callback
The dialog's callback, split in target / action. It is called once the dialog's closing
transition did finish.
{String}
type
The type of this object.
Method Detail
actionSheet(obj)
This method creates an actionSheet dialog based on the given customizing parameters and
initiates its displaying on the screen.
- Parameters:
- {Object} obj
- The customizing parameters of the actionSheet dialog view.
alert(obj)
This method creates an alert dialog based on the given customizing parameters and
initiates its displaying on the screen.
- Parameters:
- {Object} obj
- The customizing parameters of the alert dialog view.
confirm(obj)
This method creates an confirm dialog based on the given customizing parameters and
initiates its displaying on the screen.
- Parameters:
- {Object} obj
- The customizing parameters of the confirm dialog view.