JS Functions

DiviArea.Core.activateContainer()

Scan the context for Area triggers and attach event listeners to them.

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.

DiviAreaItem.setPosition()

Recalculate the Area position on the viewport.

DiviArea.Utils.getCookie()

Return the value of a cookie.

DiviArea.Core.disableBodyScroll()

Disable scrolling of the body.

DiviArea.markClosed()

Mark an area as "closed" for a certain number of minutes.

DiviArea.getArea()

Returns the area that is associated with the ID. Params Returns Returns a DiviAreaItem object for the requested Area. When...

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.