changeset 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 2d6cfce0df6c
children 19eb8b6c02d4
files libervia/pages/_browser/loading.py
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
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()