annotate libervia/pages/_browser/loading.py @ 1380:df79874947d7

pages: fix browser data re-creation on dev mode reload
author Goffi <goffi@goffi.org>
date Sat, 20 Feb 2021 13:51:11 +0100
parents 08739952a18f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1371
08739952a18f browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff changeset
1 """manage common dialogs"""
08739952a18f browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff changeset
2
08739952a18f browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff changeset
3 from browser import document
08739952a18f browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff changeset
4
08739952a18f browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff changeset
5 def remove_loading_screen():
08739952a18f browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff changeset
6 print("removing loading screen")
08739952a18f browser: new `loading` module to remove loading screen
Goffi <goffi@goffi.org>
parents:
diff changeset
7 document['loading_screen'].remove()