JS Functions

DiviArea.Data.sanitizeId()

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

DiviArea.Utils.toPixel()

Converts any CSS unit to pixels - at least any CSS unit that is available in Divi Areas.

DiviArea.Utils.getStyleDef()

Returns the defined CSS value for the given property of an element.

DiviArea.doAction()

Runs all previously registered action hooks. Params Returns The function does not return anything. Notes No notes

DiviArea.Debug.group()

Start or end a debug-group in the JS console

DiviArea.Core.setupHoverArea()

Prepares a Hover Area for display. This logic is now built into `DiviArea.show()`

DiviArea.Data.createArea()

Creates a new DiviAreaItem instance

DiviArea.Utils.setCookie()

Set the value of a cookie, with an expiration date.

DiviAreaItem.removeFilter()

Removes a previously registered filter hook.

DiviArea.Utils.setLocalData()

Save the given information for a specified number of minutes in the current browser. This method stores data either in...