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

Popups for Divi

applyFilters( “storage_method” )

Filter the storage method for local-data.

doAction( “ready” )

The JS API is fully initialized and all Areas were registered

applyFilters( “set_data_expire” )

Filters the lifespan of a local data entry

DiviArea.Utils.getStyleDef()

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

DiviArea.addActionOnce()

Same as addAction() but the callback is unhooked again when the action is called the next time. This function ensures,...

applyFilters( “ignore_overlay_click” )

Allows to ignore the click on the popup overlay

DiviArea.doAction()

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

DiviAreaItem.setPosition()

Recalculate the Area position on the viewport.

DiviArea.Debug.group()

Start or end a debug-group in the JS console

doAction( “load” )

Fires after the API was fully loaded, but before it is initialized