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

DiviAreaItem.css()

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

DiviArea.Utils.getUrlParam()

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

DiviAreaItem.detach()

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

DiviArea.Utils.showOnViewport()

Checks the viewport configuration of the Area agains the current viewport. Only the window-width is tested to determine whether the...

DiviAreaItem.removeClass()

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