Divi Areas Pro

DiviAreaItem.getWrap()

Returns the jQuery element of the Area wrapper

applyFilters( “area_trigger_conditions” )

Allows to add custom Area conditions right before an Area is triggered

DiviArea.Utils.getStyleDef()

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

DiviArea.isClosed()

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

doAction( “click_overlay” )

Click on the background overlay detected

DiviArea.doAction()

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

DiviAreaItem.isVisible()

Tests, if the Area is visible.

DiviAreaItem.isType()

Tests, whether the matches the expected type string.

DiviAreaItem.theKey()

Returns the Areas hook-key which is used for action/filter names

DiviArea.Utils.setCookie()

Set the value of a cookie, with an expiration date.