JS Functions

DiviArea.Debug.debug()

Output debug info in the JS console, when JS debugging is enabled

DiviAreaItem.attr()

Shortcut to `jQuery.attr()` on the Area.

DiviArea.Core.disableBodyScroll()

Disable scrolling of the body.

DiviArea.Utils.sanitizeHookName()

Sanitizes the given name before it is injected into a hook-name

DiviArea.Core.attachArea()

Attach the given area to the DOM and add it to the list of visible Areas.

DiviArea.Data.addVisibleArea()

Add a single Area to the end of the "visible Areas" list.

DiviArea.hide()

Closes the specified Divi Area.

DiviArea.Data.countVisibleAreas()

Count the currently visible Areas.

DiviArea.Utils.getOption()

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

DiviArea.Data.sanitizeId()

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