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

Popups for Divi

DiviAreaItem.setTriggerEvent()

Sets the trigger element for a Hover Area.

applyFilters( “set_data” )

Filters a value that will be written to a Cookie or the localStorage.

doAction( “close_area” )

Fired internally by the API to process a stoppable close-request

DiviArea.show()

Triggers the defined Divi Area (e.g., display a Popup or Fly-In)

applyFilters( “ignore_esc_key” )

Allow manually ignoring the ESC keypress before an Area is hidden

DiviArea.showOverlay()

Darkens the background and prevents scrolling of the document.

doAction( “disabled_scrolling” )

Scrolling of the document was disabled

DiviAreaItem.setData()

Changes an area configuration value.

DiviAreaItem.theType()

Returns the Area-type

DiviAreaItem.doAction()

Runs a JS action via DiviArea.doAction() with the given hook name. This function will call two hooks: One exactly as...