Răsfoiți Sursa

explain "private" characteristic for ui.page

Rodja Trappe 2 ani în urmă
părinte
comite
5f39e4a42c
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      nicegui/page.py

+ 3 - 0
nicegui/page.py

@@ -23,6 +23,9 @@ class page:
         """Page
 
         Creates a new page at the given route.
+        Each user will see a new instance of the page.
+        Which means it is private to the user and not shared with others 
+        (as it is done `when placing elements outside of a page decorator <https://nicegui.io/documentation#auto-index_page>`_).)
 
         :param path: route of the new page (path must start with '/')
         :param title: optional page title