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

Popups for Divi

DiviArea.Utils.isPosition()

Checks, whether the given element (or one of its’ parents) has the given position attribute. Typically used to check, if...

DiviArea.Utils.getClientRect()

Returns a rect for the first element in the jQuery object. Params Returns An object with details about the client...

DiviArea.Core.blurArea()

Remove the focus-state from an area and deactivated that area again.

DiviArea.register()

Creates a new Divi Area from an arbitrary HTML element on the page

DiviAreaItem.setVisible()

Mark the area as visible or not-visible.

DiviAreaItem.setPosition()

Recalculate the Area position on the viewport.

doAction( “hide_area” )

Fires, once a previously visible Area is hidden again.

DiviAreaItem.addAction()

Register a new hook that only listens to actions of this Area

applyFilters( “storage_method” )

Filter the storage method for local-data.

applyFilters( “ignore_close_area” )

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