JS Functions

DiviArea.Utils.getWindow()

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

DiviAreaItem.setVisible()

Mark the area as visible or not-visible.

DiviAreaItem.addFilter()

Register a new hook that only handles filters of this Area

DiviArea.UI.animateArea()

Trigger the intro/outro animation of a specific 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.setPosition()

Recalculate the Area position on the viewport.

DiviArea.Utils.getCookie()

Return the value of a cookie.

DiviArea.register()

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