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

Popups for Divi

doAction( “before_show_area” )

Fires before an Area is displayed

DiviArea.Core.activateContainer()

Scan the context for Area triggers and attach event listeners to them.

doAction( “init_overlay” )

Allows custom initialization of the background overlay.

doAction( “refresh_area” )

Fires after options were applied to the area DOM elements

DiviArea.Utils.getOption()

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

Ninja Forms

✔︎ Divi Areas works well with Ninja Forms! Ninja Forms is a popular, free form builder plugin that beats Divis’s...

DiviArea.Data.sanitizeId()

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

DiviArea.getArea()

Returns the area that is associated with the ID. Params Returns Returns a DiviAreaItem object for the requested Area. When...

DiviAreaItem.setVisible()

Mark the area as visible or not-visible.

applyFilters( “storage_method” )

Filter the storage method for local-data.