how can I reander gui after html loading is completed ?
Closed this issue · 2 comments
Dumbliidore commented
Specification
- pywebview version: 5.1
- operating system: Win11
- web renderer: chromium
Description
I use pywebview to encapsulate flask app, when I run the code, the gui be rendered is always before html loading is completed,this led to a blank interface for a while.
Before html loading is completed.
After html loading is completed.
Thanks.
r0x0r commented
There is a loading animation example to address cases like this https://github.com/r0x0r/pywebview/blob/master/examples/loading_animation.py
Dumbliidore commented
Thanks, it works for me.