Dynamsoft / web-twain-angular-advanced

Demoing how to integrate Dynamic Web TWAIN in an angular application and make the most of it.
3 stars 3 forks source link

Not able to call dynamsoft.load in other functions. #2

Closed Jess892007 closed 2 years ago

Jess892007 commented 2 years ago

IS there a way to create or call first instance of Dynamsoft.DWT.Load() in other methods or functions or events without calling it in ngInit() .

Grace-Dynamsoft commented 2 years ago

Dynamsoft.DWT.Load() can be called anytime if our source files are entirely loaded. suggest adding a button to call Dynamsoft.DWT.Load()

And another solution, you can adopt AutoLoad instead of manual load: set Dynamsoft.DWT.AutoLoad = true, which will make Loading happens automatically