dijit/Dialog._DialogLevelManager (version 1.10)

Summary

Controls the various active "levels" on the page, starting with the stuff initially visible on the page (at z-index 0), and then having an entry for each Dialog shown.

Property Summary

Method Summary

  • hide(dialog) Called when the specified dialog is hidden/destroyed, after the fade-out animation ends, in order to reset page focus, fix the underlay, etc.
  • isTop(dialog) Returns true if specified Dialog is the top in the task
  • show(dialog,underlayAttrs) Call right before fade-in animation for new dialog.

Properties

_beginZIndex
Defined by: dijit/Dialog

Methods

hide(dialog)
Defined by dijit/Dialog

Called when the specified dialog is hidden/destroyed, after the fade-out animation ends, in order to reset page focus, fix the underlay, etc. If the specified dialog isn't open then does nothing.

Caller is responsible for either setting display:none on the dialog domNode, or calling dijit/popup.hide(), or removing it from the page DOM.

Parameter Type Description
dialog dijit/_WidgetBase
isTop(dialog)
Defined by dijit/Dialog

Returns true if specified Dialog is the top in the task

Parameter Type Description
dialog dijit/_WidgetBase
Returns:boolean
show(dialog,underlayAttrs)
Defined by dijit/Dialog

Call right before fade-in animation for new dialog. Saves current focus, displays/adjusts underlay for new dialog, and sets the z-index of the dialog itself.

New dialog will be displayed on top of all currently displayed dialogs.

Caller is responsible for setting focus in new dialog after the fade-in animation completes.

Parameter Type Description
dialog dijit/_WidgetBase
underlayAttrs Object
Error in the documentation? Can’t find what you are looking for? Let us know!