diff libervia/pages/_browser/loading.py @ 1371:08739952a18f

browser: new `loading` module to remove loading screen
author Goffi <goffi@goffi.org>
date Fri, 27 Nov 2020 12:25:25 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libervia/pages/_browser/loading.py	Fri Nov 27 12:25:25 2020 +0100
@@ -0,0 +1,7 @@
+"""manage common dialogs"""
+
+from browser import document
+
+def remove_loading_screen():
+    print("removing loading screen")
+    document['loading_screen'].remove()