I\'m using the Forge Viewer on an Angular 5 application.
Is there a way to completely unload the viewer so it can later be reloaded?
I have the following cod
The static method Autodesk.Viewing.Initializer
can only be called once the subsequent times it will not return. All other viewer methods need to be invoked every time your component loads. So you need to refactor your code a bit.
My app is using React and I save a boolean in the appState to avoid calling that Initializer twice if it has been initialized already.
Hope that helps