1. Home
  2. Knowledge Base
  3. Popups for Divi

Popups for Divi

DiviAreaItem.hasClass()

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

DiviAreaItem.addClass()

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

DiviAreaItem.getWrap()

Returns the jQuery element of the Area wrapper

DiviArea.Utils.toPixel()

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

DiviAreaItem.addFilter()

Register a new hook that only handles filters of this Area

DiviArea.isClosed()

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

DiviArea.markClosed()

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

DiviAreaItem.isType()

Tests, whether the matches the expected type string.

DiviArea.Utils.getStyleDef()

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

DiviAreaItem.isVisible()

Tests, if the Area is visible.