JS Functions

DiviArea.Utils.getClientRect()

Returns a rect for the first element in the jQuery object. Params Returns An object with details about the client...

DiviArea.addFilter()

Register a callback function for a certain JS filter

DiviArea.Core.blurArea()

Remove the focus-state from an area and deactivated that area again.

DiviArea.Utils.isPosition()

Checks, whether the given element (or one of its’ parents) has the given position attribute. Typically used to check, if...

DiviAreaItem.removeFilter()

Removes a previously registered filter hook.

DiviArea.Utils.getUrlParam()

Returns a single URL param valuewith the given name. If no paramName is given, returns the entire list of all...

DiviAreaItem.theId()

Returns the full Area-ID, including the `#` prefix

DiviAreaItem.css()

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

DiviArea.Utils.getCookie()

Return the value of a cookie.

DiviAreaItem.detach()

Detach the current Area from the DOM tree (hide it)