JS Functions

DiviAreaItem.addClass()

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

DiviArea.Core.reOrderAreas()

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

DiviArea.Data.removeVisibleArea()

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

DiviArea.Debug.info()

Output info in the JS console, when JS debugging is enabled

DiviArea.isClosed()

Check, whether a area is marked as “closed” for a certain time span. This function returns true when the area...

DiviAreaItem.theKey()

Returns the Areas hook-key which is used for action/filter names

DiviAreaItem.isType()

Tests, whether the matches the expected type string.

DiviArea.removeFilter()

Removes a previously registered filter hook.

DiviArea.Utils.getWindow()

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

DiviAreaItem.isVisible()

Tests, if the Area is visible.