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 |
---|---|
The type of this object.
|
- Fields borrowed from class M.View:
- childViews, computedValue, contentBinding, contentBindingReverse, cssClass, cssClassOnError, cssClassOnInit, cssStyle, events, hasFocus, html, id, isInline, isView, modelId, parentView, recommendedEvents, triggerActionOnChange, triggerActionOnEnter, triggerActionOnKeyUp, value
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.
|
|
dequeue()
|
|
enqueue(action, obj)
|
- Methods borrowed from class M.View:
- addCssClass, attachToObservable, clearHtml, clearValue, clearValues, computeValue, contentDidChange, delegateValueUpdate, design, getChildViewsAsArray, getIds, getValue, getValues, gotFocus, lostFocus, nl2br, registerEvents, removeCssClass, removeCssProperty, renderUpdate, secure, setCssProperty, setValueFromDOM, style, tab2space, theme, themeChildViews
- Methods borrowed from class M.Object:
- bindToCaller, create, destroy, extend, get, include, set
Field Detail
{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.
dequeue()
enqueue(action, obj)
- Parameters:
- action
- obj