Class M.ActionSheetDialogView
Extends
M.DialogView.
This is the prototype for any action sheet dialog view. It is derived from M.DialogView
and mainly used for implementing a action sheet dialog view specific render method.
Defined in: action_sheet_dialog.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
If set, contains the dialog's callbacks in sub objects named 'destruction', 'cancel' and 'other' or as functions named confirm, cancel and other.
|
|
Defines the value of the cancel button
|
|
Delay between action sheet slide out animation finished and deleting it from DOM and deleting the object
|
|
Defines the value of the destructive button (the one button that is showed in red)
|
|
Contains the tags of all other buttons as strings
|
|
Contains the values of all other buttons as strings
|
|
The default title of an action sheet dialog.
|
|
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 |
---|---|
handleCallback(viewId, event)
|
|
hide()
|
|
show()
|
- Methods borrowed from class M.DialogView:
- actionSheet, alert, confirm, dequeue, enqueue
- 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
{Object}
callbacks
If set, contains the dialog's callbacks in sub objects named 'destruction', 'cancel' and 'other' or as functions named confirm, cancel and other.
{String}
cancelButtonValue
Defines the value of the cancel button
deletionDelay
Delay between action sheet slide out animation finished and deleting it from DOM and deleting the object
{String}
destructiveButtonValue
Defines the value of the destructive button (the one button that is showed in red)
{Array}
otherButtonTags
Contains the tags of all other buttons as strings
{Array}
otherButtonValues
Contains the values of all other buttons as strings
{String}
title
The default title of an action sheet dialog.
{String}
type
The type of this object.
Method Detail
handleCallback(viewId, event)
- Parameters:
- viewId
- event
hide()
show()