JS Functions

DiviArea.markClosed()

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

DiviArea.Utils.getOption()

Fetches the value of a DiviAreaConfig option. Params Returns The option value Notes No notes

DiviArea.Data.sanitizeId()

Sanitize an area ID string: Return a ID with leading hash.

DiviAreaItem.isVisible()

Tests, if the Area is visible.

DiviArea.Utils.toPixel()

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

DiviAreaItem.find()

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

DiviArea.Utils.getStyleDef()

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

DiviArea.Core.activateContainer()

Scan the context for Area triggers and attach event listeners to them.

DiviArea.getArea()

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

DiviArea.doAction()

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