JS Functions

DiviArea.register()

Creates a new Divi Area from an arbitrary HTML element on the page

DiviArea.Utils.getClientRect()

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

DiviAreaItem.setPosition()

Recalculate the Area position on the viewport.

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.