JS Functions

DiviArea.isClosed()

Check, whether a area is marked as “closed” for a certain time span. This function returns true when the area...

DiviArea.Data.addVisibleArea()

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

DiviArea.Core.disableBodyScroll()

Disable scrolling of the body.

DiviAreaItem.addClass()

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

DiviAreaItem.addAction()

Register a new hook that only listens to actions of this Area

DiviAreaItem.hasClass()

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

DiviArea.Utils.getOption()

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

DiviAreaItem.isType()

Tests, whether the matches the expected type string.

DiviArea.Data.sanitizeId()

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

DiviAreaItem.theKey()

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