JS Functions

DiviAreaItem.attach()

Attach the current Area to the DOM tree (display it)

DiviAreaItem.setTriggerEvent()

Sets the trigger element for a Hover Area.

DiviArea.show()

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

DiviArea.showOverlay()

Darkens the background and prevents scrolling of the document.

DiviAreaItem.setData()

Changes an area configuration value.

DiviArea.addAction()

Register a callback function for a certain JS action

DiviAreaItem.doAction()

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

DiviAreaItem.theType()

Returns the Area-type

DiviAreaItem.hasId()

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

DiviAreaItem.removeAction()

Removes a previously registered action hook.