JS Functions

DiviArea.Hooks.addAction()

This is an alias of DiviArea.addAction().

DiviArea.applyFilters()

Applies all previously registered filter hooks and returns the filtered value. Params Returns Returns the filtered value. Notes No notes

DiviArea.Data.loopVisibleAreas()

Loop all visible Areas of the given type and execute the callback for them.

DiviArea.Core.focusArea()

Add the focus-state to an area and activate/initialize that Area.

DiviArea.Core.reOrderAreas()

Sets the z-index of all Areas, including the modal overlay.

DiviArea.Utils.toBool()

Utility that tests, if a value equals to boolean true. See below for a list of values that are considered...

DiviArea.getOverlay()

Returns the jQuery element of the modal overlay.

DiviAreaItem.addActionOnce()

Same as addAction, but the callback is only called once and then is unhooked again

DiviArea.hideOverlay()

Removes the background overlay and re-enables scrolling.

DiviArea.listAreas()

Returns an array of all area IDs (including eventual alternate IDs) that match the given filter. Params Returns Array of...