Custom trigger build in loading annimation

WebViewer Version:
8.1.0

Do you have an issue with a specific file(s)?
no
Can you reproduce using one of our samples or online demos?
n/a
Are you using the WebViewer server?
no
Does the issue only happen on certain browsers?
no
Is your issue related to a front-end framework?
I guess, no
Is your issue related to annotations?
no
Please give a brief summary of your issue:
Custom trigger build in loading annimation

Please describe your issue and provide steps to reproduce it:
I want to trigger/use the build in loading animation of the Webviewer to inform users of custom calls like loading document information from the backend. It will be nice if it is possible to give the user an uniform look and feel (theme, animation etc.).

Is this possible?

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi,

Could you try -
instance.UI.openElement('loadingModal')
to show the loading animation?

Thanks.

Wanbo

Hi Wanbo,

thank you for your example.
In my typescript case it was instance.UI.openElements(['loadingModal']); but it seems to work.

Best regards
Uli