JS Functions

DiviAreaItem.isType()

Tests, whether the matches the expected type string.

DiviAreaItem.theKey()

Returns the Areas hook-key which is used for action/filter names

DiviAreaItem.applyFilters()

Runs a JS filter via DiviArea.applyFilters() with the given hook name. This function will call two filters: One exactly as...

DiviArea.Debug.table()

Display debug information in the JS console

DiviArea.isClosed()

Check, whether a area is marked as “closed” for a certain time span. This function returns true when the area...

DiviAreaItem.isVisible()

Tests, if the Area is visible.

DiviAreaItem.find()

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

DiviArea.Data.getVisibleArea()

Returns either the top-most visible Area, or the Area with the given ID.

DiviArea.Data.getAllIds()

Returns a list of available Area-IDs

DiviArea.Utils.toBool()

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