JS Functions

DiviArea.Utils.getCssSpecificity()

Calculates the CSS Specificity of a given selector.

DiviArea.Debug.table()

Display debug information in the JS console

DiviArea.Core.isArea()

Tests, whether the given val is an Divi Area element

DiviArea.removeAction()

Removes a previously registered action hook.

DiviArea.hideOverlay()

Removes the background overlay and re-enables scrolling.

DiviAreaItem.addAction()

Register a new hook that only listens to actions of this Area

DiviArea.Core.getContext()

Returns the base context where Divi Areas are inserted.

DiviArea.Data.getVisibleArea()

Returns either the top-most visible Area, or the Area with the given ID.

DiviAreaItem.getWrap()

Returns the jQuery element of the Area wrapper

DiviAreaItem.hasClass()

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