JS Functions

DiviArea.Debug.info()

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

DiviArea.removeFilter()

Removes a previously registered filter hook.

DiviAreaItem.setPosition()

Recalculate the Area position on the viewport.

DiviArea.Utils.getWindow()

Gets the parent window that contains the specified element. Params Returns The window object which contains the element. Notes No...

DiviAreaItem.addFilter()

Register a new hook that only handles filters of this Area

DiviArea.addFilter()

Register a callback function for a certain JS filter

DiviArea.UI.animateArea()

Trigger the intro/outro animation of a specific Area

DiviArea.register()

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

DiviArea.Core.activateContainer()

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

DiviArea.Utils.sanitizeHookName()

Sanitizes the given name before it is injected into a hook-name