JS Functions

DiviAreaItem.addClass()

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

DiviArea.Data.addVisibleArea()

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

DiviAreaItem.hasClass()

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

DiviArea.Data.countVisibleAreas()

Count the currently visible Areas.

DiviArea.Core.attachArea()

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

DiviArea.Core.disableBodyScroll()

Disable scrolling of the body.

DiviAreaItem.theKey()

Returns the Areas hook-key which is used for action/filter names

DiviAreaItem.isType()

Tests, whether the matches the expected type string.

DiviArea.register()

Creates a new Divi Area from an arbitrary HTML element on the page

DiviArea.addFilter()

Register a callback function for a certain JS filter