JS Functions

DiviArea.markClosed()

Mark an area as "closed" for a certain number of minutes.

DiviArea.Utils.toPixel()

Converts any CSS unit to pixels - at least any CSS unit that is available in Divi Areas.

DiviArea.Utils.getStyleDef()

Returns the defined CSS value for the given property of an element.

DiviAreaItem.isVisible()

Tests, if the Area is visible.

DiviArea.doAction()

Runs all previously registered action hooks. Params Returns The function does not return anything. Notes No notes

DiviArea.register()

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

DiviAreaItem.find()

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

DiviArea.Debug.group()

Start or end a debug-group in the JS console

DiviArea.Data.createArea()

Creates a new DiviAreaItem instance

DiviArea.getArea()

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