JS Functions

DiviArea.Hooks.addAction()

This is an alias of DiviArea.addAction().

DiviArea.removeAction()

Removes a previously registered action hook.

DiviArea.Core.isArea()

Tests, whether the given val is an Divi Area element

DiviArea.Data.getVisibleArea()

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

DiviArea.UI.initializeAreaAnimation()

Initialize/configure animation details of the Divi Area

DiviArea.Core.detachArea()

Remove the given area from the current list of visible Areas.

DiviArea.Core.focusArea()

Add the focus-state to an area and activate/initialize that Area.

DiviAreaItem.addActionOnce()

Same as addAction, but the callback is only called once and then is unhooked again

DiviArea.getOverlay()

Returns the jQuery element of the modal overlay.

DiviArea.Core.reOrderAreas()

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