JS Functions

DiviArea.Core.getContext()

Returns the base context where Divi Areas are inserted.

DiviArea.Debug.verbose()

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

DiviArea.Utils.compareCssSpecificity()

Determines, which CSS specificity is more specific

DiviArea.hideOverlay()

Removes the background overlay and re-enables scrolling.

DiviArea.Debug.error()

Display an error in the JS console

DiviArea.Data.getArea()

This is an alias of DiviArea.getArea().

DiviArea.Data.configArea()

This method is deprecated and should not be used anymore. Params Returns The function does not return anything. Notes No...

DiviArea.Hooks.addAction()

This is an alias of DiviArea.addAction().

DiviArea.Data.loopVisibleAreas()

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

DiviAreaItem.addActionOnce()

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