Module: delite/DialogUnderlay

delite/DialogUnderlay

require(["delite/DialogUnderlay"], function (DialogUnderlay) {
  new DialogUnderlay();
});

A component used to block input behind a Dialog widget.

Normally this widget should not be instantiated directly, but rather shown and hidden via DialogUnderlay.show() and DialogUnderlay.hide(). And usually the module is not accessed directly at all, since the underlay is shown and hidden by the Dialog.

Source:
Show inherited

Methods

<static> DialogUnderlay.hide()

Static method to hide the underlay.

Source:

<static> DialogUnderlay.show(attrs, zIndex)

Static method to display the underlay with the given attributes set. If the underlay is already displayed, then adjust it's attributes as specified.

Parameters:
Name Type Description
attrs Object

The parameters to create DialogUnderlay with.

zIndex number

z-index of the underlay.

Source:

hide()

Hide the dialog underlay (instance method).

Source:

show()

Show the dialog underlay (instance method).

Source: