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

Popups for Divi

DiviArea.Utils.getOption()

Fetches the value of a DiviAreaConfig option. Params Returns The option value Notes No notes

applyFilters( “storage_method” )

Filter the storage method for local-data.

DiviArea.Data.sanitizeId()

Sanitize an area ID string: Return a ID with leading hash.

DiviArea.Utils.toPixel()

Converts any CSS unit to pixels - at least any CSS unit that is available in Divi Areas.

applyFilters( “set_data_expire” )

Filters the lifespan of a local data entry

DiviArea.addActionOnce()

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

DiviArea.Utils.getStyleDef()

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

doAction( “load” )

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

DiviAreaItem.inDom()

Tests, whether the Area is attached to the document

applyFilters( “ignore_overlay_click” )

Allows to ignore the click on the popup overlay