JS Functions

DiviArea.Utils.isPosition()

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

DiviArea.Core.blurArea()

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

DiviArea.Utils.getClientRect()

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

DiviAreaItem.removeFilter()

Removes a previously registered filter hook.

DiviAreaItem.theId()

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

DiviArea.addFilter()

Register a callback function for a certain JS filter

DiviAreaItem.css()

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

DiviAreaItem.detach()

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

DiviArea.Utils.getUrlParam()

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

DiviArea.Utils.getCookie()

Return the value of a cookie.