Data / Elements#
The methods contained within ‘Data / Elements’ are used to access raw element data for all currently loaded submaps.
getAll#
accepts no arguments
waits until all submaps have finished loading their elements, then resolves
returns a
Promiseresolving to an array ofModelElement, combining the elements of every loaded submapexample:
const elements = await window.minerva.elements.data.getAll();