Gets the panels as Panel objects. Changes made through them (setLocation, delete, ...) apply to the viewer right away.
setLocation
delete
The panels.
const names = instance.UI.getPanels().map(panel => panel.dataElement); Copy
const names = instance.UI.getPanels().map(panel => panel.dataElement);
Gets the panels as Panel objects. Changes made through them (
setLocation,delete, ...) apply to the viewer right away.