JS Functions

DiviArea.Hooks.doAction()

This is an alias of DiviArea.doAction().

DiviArea.Core.focusArea()

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

DiviArea.UI.initializeAreaAnimation()

Initialize/configure animation details of the Divi Area

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.getOverlay()

Returns the jQuery element of the modal overlay.

DiviArea.Data.loopVisibleAreas()

Loop all visible Areas of the given type and execute the callback for them.

DiviArea.Hooks.addAction()

This is an alias of DiviArea.addAction().

DiviAreaItem.addActionOnce()

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

DiviArea.Core.reOrderAreas()

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