dijit/_ConfirmDialogMixin (version 1.10)

dijit/_WidgetsInTemplateMixin

Summary

Mixin for Dialog/TooltipDialog with OK/Cancel buttons.

Property Summary

Method Summary

Properties

_earlyTemplatedStartup

A fallback to preserve the 1.0 - 1.3 behavior of children in templates having their startup called before the parent widget fires postCreate. Defaults to 'false', causing child widgets to have their .startup() called immediately before a parent widget .startup(), but always after the parent .postCreate(). Set to 'true' to re-enable to previous, arguably broken, behavior.

_setButtonCancelAttr
_setButtonOkAttr
actionBarTemplate
buttonCancel

Label of cancel button

buttonOk

Label of OK button

contextRequire

Used to provide a context require to the dojo/parser in order to be able to use relative MIDs (e.g. ./Widget) in the widget's template.

widgetsInTemplate

Should we parse the template to find widgets that might be declared in markup inside it? (Remove for 2.0 and assume true)

Methods

_beforeFillContent()
_processTemplateNode(baseNode,getAttrFunc,attachFunc)
Parameter Type Description
baseNode DOMNode | Widget
getAttrFunc undefined
attachFunc undefined
Returns:boolean | undefined
startup()
Error in the documentation? Can’t find what you are looking for? Let us know!