Exports the modular UI data of this viewer. The result is JSON-serializable and can be passed to importModularComponents as is.
Functions are written as their names in the function map given to importModularComponents (functions not in it are left out with a warning);
disabled items get disabled: true; the viewer's built-in flyouts are skipped.
Exports the modular UI data of this viewer. The result is JSON-serializable and can be passed to
importModularComponentsas is. Functions are written as their names in the function map given toimportModularComponents(functions not in it are left out with a warning); disabled items getdisabled: true; the viewer's built-in flyouts are skipped.