-
Hello everybody, I have a page whose processing times are longer than expected and therefore I would like to put a "waiting message" of this type:
But only the message after waiting is displayed. What approach can I take to solve? Is it possible to manage everything within the same function? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I think you have to wait until a websocket connection is established for the page, such as after a button is clicked. The code below works:
|
Beta Was this translation helpful? Give feedback.
-
Here is a better solution:
|
Beta Was this translation helpful? Give feedback.
-
If I understand the problem correctly, then perhaps the page_ready event could be useful here: https://justpy.io/tutorial/page_events/ |
Beta Was this translation helpful? Give feedback.
-
Thanks everyone for the help! This library is truly fantastic! |
Beta Was this translation helpful? Give feedback.
If I understand the problem correctly, then perhaps the page_ready event could be useful here: https://justpy.io/tutorial/page_events/