JS Functions

DiviAreaItem.find()

Shortcut to `jQuery.find()` on the Area.

DiviArea.UI.animateArea()

Trigger the intro/outro animation of a specific Area

DiviAreaItem.addFilter()

Register a new hook that only handles filters of this Area

DiviArea.Utils.sanitizeHookName()

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

DiviArea.addFilter()

Register a callback function for a certain JS filter

DiviArea.Utils.getLocalData()

Retrieve previously stored information from localStorage or a Cookie. Params Returns A string with the previously saved value, or false...

DiviAreaItem.setVisible()

Mark the area as visible or not-visible.

DiviArea.Data.addVisibleArea()

Add a single Area to the end of the "visible Areas" list.

DiviArea.register()

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

DiviArea.Debug.debug()

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