Class: CUI.Modal
Defined in: | elements/Modal/Modal.coffee |
Inherits: | CUI.LayerPane |
Overview
Modal
Direct Known Subclasses
CUI.ConfirmationDialog CUI.Popover
Variables Summary
- defaults =
-
{ cancel_tooltip: { text: "Close Dialog" } }
Variable inherited from CUI.LayerPane
knownPlacements defaults uniqueId
Instance Method Summary
- # (void) initOpts()
- # (void) readOpts()
- # (void) __addHeaderButton(pname, _btn)
- # (void) __runOnAllButtons(func)
- # (void) disableAllButtons()
- # (void) enableAllButtons()
- # (void) isKeyboardCancellable(ev)
- # (void) doCancel(ev, force_callback = false, button = null)
- # (void) focusOnShow(ev)
- # (void) forceFocusOnShow()
- # (void) empty(key = "center") PROXY some functions
- # (void) append(content, key = "center")
- # (void) replace(content, key = "center")
- # (void) setContent(content)
- # (void) hide(ev)
Inherited Method Summary
Methods inherited from
CUI.LayerPane
#initOpts #getPane #setPane #destroy #setBackdropContent #getTemplate #getLayerRoot #getLayer #setVisible #__setElement #__getOriginalElement #autoSize #position #__removeDebugDivs #clearTimeout #showTimeout #hideTimeout #hide #__updateLayerStackCounter #getElementOpenClass #show #isKeyboardCancellable #doCancel #focusOnShow #forceFocusOnShow #focusOnHide #getElement #isShown #registerTemplate #getDOMElementClasses #registerDOMElement #getElementForLayer #unregisterDOMElement #__assertDOMElement #__assertTemplateElement #addClass #setAria #removeClass #hasClass #isDestroyed #empty #replace #append #prepend #text #get #getFlexHandle #getElementClass #getUniqueId #getOpts #getOpt #hasOpt #getSetOpt #hasSetOpt #copy #mergeOpt #removeOpt #addOpt #addOpts #mergeOpts #__getCheckMap #readOpts #readOptsFromAttr #proxy .getOptKeys
Constructor Details
#
(void)
constructor(opts = {})
Construct a new CUI.Modal.
Instance Method Details
#
(void)
initOpts()
#
(void)
readOpts()
#
(void)
__addHeaderButton(pname, _btn)
#
(void)
__runOnAllButtons(func)
#
(void)
disableAllButtons()
#
(void)
enableAllButtons()
#
(void)
isKeyboardCancellable(ev)
#
(void)
doCancel(ev, force_callback = false, button = null)
#
(void)
focusOnShow(ev)
#
(void)
forceFocusOnShow()
#
(void)
empty(key = "center")
PROXY some functions
#
(void)
append(content, key = "center")
#
(void)
replace(content, key = "center")
#
(void)
setContent(content)
#
(void)
hide(ev)