Divi Areas Pro

DiviArea.Utils.toPixel()

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

DiviAreaItem.addClass()

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

doAction( “click_overlay” )

Click on the background overlay detected

DiviAreaItem.getWrap()

Returns the jQuery element of the Area wrapper

DiviArea.markClosed()

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

DiviArea.isClosed()

Check, whether a area is marked as “closed” for a certain time span. This function returns true when the area...

DiviArea.Utils.getStyleDef()

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

DiviAreaItem.isType()

Tests, whether the matches the expected type string.

DiviArea.doAction()

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

DiviAreaItem.addFilter()

Register a new hook that only handles filters of this Area