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

Popups for Divi

DiviAreaItem.setVisible()

Mark the area as visible or not-visible.

applyFilters( “ignore_overlay_click” )

Allows to ignore the click on the popup overlay

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( “ignore_close_area” )

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

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

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

applyFilters( “get_option_{key}” )

Filters the value of a JS option