JS Functions

DiviAreaItem.detach()

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

DiviArea.Core.initContainer()

Initialize Divi features in the given element

DiviArea.Core.setupHoverArea()

Prepares a Hover Area for display. This logic is now built into `DiviArea.show()`

DiviAreaItem.removeClass()

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

DiviAreaItem.findHook()

Finds and returns the hook-tag of this Area.

DiviAreaItem.removeAttr()

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

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.isPrepared()

Tests, if the Area is fully initialized.

DiviAreaItem.get()

Returns a jQuery element of the current area.

DiviAreaItem.attach()

Attach the current Area to the DOM tree (display it)