JS Functions

DiviArea.Utils.getLocalData()

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

DiviArea.addFilter()

Register a callback function for a certain JS filter

DiviAreaItem.theKey()

Returns the Areas hook-key which is used for action/filter names

DiviArea.Debug.debug()

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

DiviArea.Data.addVisibleArea()

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

DiviAreaItem.isType()

Tests, whether the matches the expected type string.

DiviArea.register()

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

DiviArea.Data.countVisibleAreas()

Count the currently visible Areas.

DiviArea.Core.attachArea()

Attach the given area to the DOM and add it to the list of visible Areas.

DiviAreaItem.isVisible()

Tests, if the Area is visible.