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

Popups for Divi

applyFilters( “ignore_overlay_click” )

Allows to ignore the click on the popup overlay

applyFilters( “ignore_close_area” )

Allows to ignore the "close_area" request and force an area to stay open

doAction( “ready” )

The JS API is fully initialized and all Areas were registered

DiviAreaItem.setVisible()

Mark the area as visible or not-visible.

DiviAreaItem.setPosition()

Recalculate the Area position on the viewport.

DiviArea.Utils.getClientRect()

Returns a rect for the first element in the jQuery object. Params Returns An object with details about the client...

applyFilters( “set_data_expire” )

Filters the lifespan of a local data entry

DiviArea.configArea()

This method is deprecated and should not be used anymore. Params Returns The function does not return anything. Examples Notes...

doAction( “load” )

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

applyFilters( “get_option_{key}” )

Filters the value of a JS option