JS Functions

DiviAreaItem.attr()

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

DiviArea.Debug.debug()

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

DiviArea.Utils.sanitizeHookName()

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

DiviArea.Core.disableBodyScroll()

Disable scrolling of the body.

DiviArea.Core.attachArea()

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

DiviArea.hide()

Closes the specified Divi Area.

DiviArea.Data.addVisibleArea()

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

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.