Divi Areas Pro

DiviAreaItem.getWrap()

Returns the jQuery element of the Area wrapper

DiviArea.Core.disableBodyScroll()

Disable scrolling of the body.

doAction( “focus_area” )

Fired after event handlers were attached to the Area

doAction( “before_hide_area” )

Fires before an Area is displayed

DiviArea.Utils.getOption()

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

DiviAreaItem.hasClass()

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

DiviAreaItem.addClass()

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

DiviArea.Data.sanitizeId()

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

DiviAreaItem.addAction()

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

DiviAreaItem.isType()

Tests, whether the matches the expected type string.