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...

DiviAreaItem.inDom()

Tests, whether the Area is attached to the document

DiviArea.Data.addVisibleArea()

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

DiviArea.Core.initContainer()

Initialize Divi features in the given element

DiviArea.Debug.debug()

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

DiviAreaItem.theId()

Returns the full Area-ID, including the `#` prefix

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.

DiviArea.getArea()

Returns the area that is associated with the ID. Params Returns Returns a DiviAreaItem object for the requested Area. When...

DiviAreaItem.detach()

Detach the current Area from the DOM tree (hide it)