Class M.ConfirmDialogView
Extends
M.DialogView.
This is the prototype for any confirm dialog view. It is derived from M.DialogView
and mainly used for implementing a confirm dialog view specific render method.
Defined in: confirm_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 'confirm' and 'cancel' or as functions named confirm and cancel.
|
|
Determines the value of the button, means the text label on it.
|
|
Determines the value of the button, means the text label on it.
|
|
The default message of an confirm dialog.
|
|
The default title of an confirm 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 |
---|---|
canceled()
|
|
hide()
|
|
positionBackground(background)
|
|
positionDialog(dialog)
|
|
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 'confirm' and 'cancel' or as functions named confirm and cancel.
{String}
cancelButtonValue
Determines the value of the button, means the text label on it.
{String}
confirmButtonValue
Determines the value of the button, means the text label on it.
{String}
message
The default message of an confirm dialog.
{String}
title
The default title of an confirm dialog.
{String}
type
The type of this object.
Method Detail
canceled()
confirmed()
hide()
positionBackground(background)
- Parameters:
- background
positionDialog(dialog)
- Parameters:
- dialog
show()