JS Functions

DiviArea.register()

Creates a new Divi Area from an arbitrary HTML element on the page

DiviArea.addFilter()

Register a callback function for a certain JS filter

DiviArea.Hooks.removeAction()

This is an alias of DiviArea.removeAction().

DiviArea.Core.activateContainer()

Scan the context for Area triggers and attach event listeners to them.

DiviArea.Core.deactivateContainer()

Remove all inline triggers from the specified Area.

DiviArea.Core.enableBodyScroll()

Enables scrolling of the body again.

DiviArea.Utils.setLocalData()

Save the given information for a specified number of minutes in the current browser. This method stores data either in...

DiviArea.addActionOnce()

Same as addAction() but the callback is unhooked again when the action is called the next time. This function ensures,...

DiviAreaItem.setVisible()

Mark the area as visible or not-visible.

DiviArea.Utils.getClientRect()

Returns a rect for the first element in the jQuery object. Params Returns An object with details about the client...