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

Popups for Divi

doAction( “show_area” )

The Area is visible or the intro-animation has started

doAction( “ready” )

The JS API is fully initialized and all Areas were registered

DiviArea.Data.addVisibleArea()

Add a single Area to the end of the "visible Areas" list.

DiviArea.register()

Creates a new Divi Area from an arbitrary HTML element on the page

DiviArea.Debug.debug()

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

DiviAreaItem.setVisible()

Mark the area as visible or not-visible.

doAction( “hide_area” )

Fires, once a previously visible Area is hidden again.

applyFilters( “init_options” )

Filters the initial JS options while preparing the JS API

doAction( “init_overlay” )

Allows custom initialization of the background overlay.

doAction( “refresh_area” )

Fires after options were applied to the area DOM elements