JS Functions

DiviArea.Core.initContainer()

Initialize Divi features in the given element

DiviAreaItem.inDom()

Tests, whether the Area is attached to the document

DiviArea.Utils.getLocalData()

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

DiviArea.Data.addVisibleArea()

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

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

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.