JS Functions

DiviArea.Data.createArea()

Creates a new DiviAreaItem instance

DiviArea.Hooks.removeAction()

This is an alias of DiviArea.removeAction().

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.Core.activateContainer()

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

DiviArea.addActionOnce()

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

DiviArea.register()

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

DiviArea.configArea()

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

DiviAreaItem.setVisible()

Mark the area as visible or not-visible.

DiviAreaItem.setPosition()

Recalculate the Area position on the viewport.