JS Functions

DiviArea.Utils.toBool()

Utility that tests, if a value equals to boolean true. See below for a list of values that are considered...

DiviArea.listAreas()

Returns an array of all area IDs (including eventual alternate IDs) that match the given filter. Params Returns Array of...

DiviArea.Core.reOrderAreas()

Sets the z-index of all Areas, including the modal overlay.

DiviArea.Data.getAllIds()

Returns a list of available Area-IDs

DiviArea.hide()

Closes the specified Divi Area.

DiviArea.Data.removeVisibleArea()

Remove a single entry from the "visible Areas" list.

DiviArea.Data.loopAllAreas()

Invoke a callback on all Areas of a given type

DiviAreaItem.applyFilters()

Runs a JS filter via DiviArea.applyFilters() with the given hook name. This function will call two filters: One exactly as...

DiviArea.Utils.getWindow()

Gets the parent window that contains the specified element. Params Returns The window object which contains the element. Notes No...

DiviAreaItem.attr()

Shortcut to `jQuery.attr()` on the Area.