core/modal_backdrop

Contain the logic for modal backdrops.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Classes

core/modal_backdrop

Methods

(inner) attachToDOM()

Source:

Add the modal backdrop to the page, if it hasn't already been added.

(inner) destroy()

Source:

Remove this backdrop from the DOM.

(inner) getRoot() → {object}

Source:

Get the root element of this modal backdrop.

Returns:

jQuery object

Type
object

(inner) hasTransitions() → {bool}

Source:

Check if this backdrop has CSS transitions applied.

Returns:
Type
bool

(inner) hide()

Source:

Hide this backdrop.

(inner) isVisible() → {bool}

Source:

Check if this backdrop is visible.

Returns:
Type
bool

(inner) setZIndex(value)

Source:

Set the z-index value for this backdrop.

Parameters:
Name Type Description
value int

The z-index value

(inner) show()

Source:

Display this backdrop. The backdrop will be attached to the DOM if it hasn't already been.