JS Functions

DiviAreaItem.setTriggerEvent()

Sets the trigger element for a Hover Area.

DiviAreaItem.getData()

Returns an area configuration value.

DiviAreaItem.theType()

Returns the Area-type

DiviAreaItem.setData()

Changes an area configuration value.

DiviAreaItem.doAction()

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

DiviArea.showOverlay()

Darkens the background and prevents scrolling of the document.

DiviAreaItem.hasId()

Tests, whether the area is identified by the given ID.

DiviArea.show()

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

DiviAreaItem.getSize()

Returns size details of the Area

DiviAreaItem.removeAction()

Removes a previously registered action hook.