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

Popups for Divi

DiviArea.Core.disableBodyScroll()

Disable scrolling of the body.

DiviArea.Data.addVisibleArea()

Add a single Area to the end of the "visible Areas" list.

DiviArea.Core.attachArea()

Attach the given area to the DOM and add it to the list of visible Areas.

DiviArea.Data.countVisibleAreas()

Count the currently visible Areas.

DiviAreaItem.applyFilters()

Runs a JS filter via DiviArea.applyFilters() with the given hook name. This function will call two filters: One exactly as...

DiviArea.Utils.getOption()

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

doAction( “show_overlay” )

Fired after the background overlay is displayed

doAction( “click_overlay” )

Click on the background overlay detected

DiviArea.removeFilter()

Removes a previously registered filter hook.

DiviArea.Data.sanitizeId()

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