Dev Center
Table of contents

Thanks for Downloading Dynamic Web TWAIN 30-Day Trial!

Your download will start shortly. If your download does not begin, click here to retry.

UI Customization

Why I cannot hide the loading bar (spinner)?

Symptom:

In v17.3 of the Dynamic Web TWAIN SDK, you may find the spinner is unable to hide with the method mentioned in this article, it will continue to spin or will never stop.

image1

Cause:

The event Dynamsoft.OnWebTwainPreExecuteCallback is not registered in the dynamsoft.webtwain.install.js file in v17.3 so that the Dynamsoft.DWT.OnWebTwainPreExecute() will never be called.

Workaround:

Step 1) In the dynamsoft.webtwain.install.js file, add the event behind the function OnWebTwainPostExecuteCallback.

image3

Dynamsoft.OnWebTwainPreExecuteCallback = function(){
    console.log("OnWebTwainPreExecuteCallback")
}

Step 2) Follow the step in this article.

Note: If Dynamsoft.DWT.AutoLoad in your code is set to false, please contact us.

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest Version (18.4)
    • Version 18.3
    • Version 18.1
    • Version 18.0
    • Version 17.3
    • Version 17.2.1
    • Version 17.1.1
    • Version 17.0
    • Version 16.2
    • Version 16.1.1
    Change +