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

Popups for Divi

doAction( “before_hide_area” )

Fires before an Area is displayed

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.

doAction( “resize_area” )

Fired before the Area position is changed.

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