- Description:
Contain the logic for modal backdrops.
- Source:
- Copyright:
- 2016 Ryan Wyllie
- 2016 Ryan Wyllie
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Contain the logic for modal backdrops.
Classes
Methods
getAttachmentPoint() → {jQuery}
- Description:
Gets the jQuery wrapped node that the Modal should be attached to.
- Source:
Returns:
- Type
- jQuery
(inner) attachToDOM()
- Description:
Add the modal backdrop to the page, if it hasn't already been added.
- Source:
(inner) destroy()
- Description:
Remove this backdrop from the DOM.
- Source:
(inner) getRoot() → {object}
- Description:
Get the root element of this modal backdrop.
- Source:
Returns:
jQuery object
- Type
- object
(inner) hasTransitions() → {bool}
- Description:
Check if this backdrop has CSS transitions applied.
- Source:
Returns:
- Type
- bool
(inner) hide()
- Description:
Hide this backdrop.
- Source:
(inner) isVisible() → {bool}
- Description:
Check if this backdrop is visible.
- Source:
Returns:
- Type
- bool
(inner) setZIndex(value)
- Description:
Set the z-index value for this backdrop.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
int | The z-index value |
(inner) show()
- Description:
Display this backdrop. The backdrop will be attached to the DOM if it hasn't already been.
- Source: