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

Popups for Divi

doAction( “click_overlay” )

Click on the background overlay detected

doAction( “show_overlay” )

Fired after the background overlay is displayed

DiviArea.Debug.debug()

Output debug info in the JS console, when JS debugging is enabled

applyFilters( “area_preparation_time” )

Filter the default detach delay when creating a new Area.

DiviArea.removeFilter()

Removes a previously registered filter hook.

DiviArea.Data.countVisibleAreas()

Count the currently visible Areas.

DiviAreaItem.addFilter()

Register a new hook that only handles filters of this Area

DiviArea.Core.attachArea()

Attach the given area to the DOM and add it to the list of visible Areas.

DiviAreaItem.getWrap()

Returns the jQuery element of the Area wrapper

DiviArea.isClosed()

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