DiviArea.listAreas()

  1. Home
  2. Knowledge Base
  3. Codex
  4. JS API
  5. JS Functions
  6. DiviArea.listAreas()
DiviArea.listAreas(filter)

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

Params

filter
(string|jQuery, optional) The area type to filter, or a single Area element.
Default: ‘all’

Returns

Array of strings.

Notes

No notes

Was this article helpful?

Related Articles