Javascript – calling instance when promise resolves works one way but not another
I'm trying to load a PDF URL using Apryse's webViewer method. When I use the method as specified in their docs it works as intended (as shown below). But I don't want to initialize a new webViewer every function call…