Browse Source

updated index

Rodja Trappe 1 year ago
parent
commit
b70a0a67d3
1 changed files with 6 additions and 1 deletions
  1. 6 1
      website/static/search_index.json

+ 6 - 1
website/static/search_index.json

@@ -266,9 +266,14 @@
   },
   {
     "title": "Lifecycle",
-    "content": "Shut down NiceGUI.  This will programmatically stop the server. Only possible when auto-reload is disabled.",
+    "content": "Overview",
     "url": "/documentation/#lifecycle"
   },
+  {
+    "title": "Shutdown",
+    "content": "Shut down NiceGUI.  This will programmatically stop the server. Only possible when auto-reload is disabled.",
+    "url": "/documentation/#shutdown"
+  },
   {
     "title": "Auto-context",
     "content": "In order to allow writing intuitive UI descriptions, NiceGUI automatically tracks the context in which elements are created. This means that there is no explicit parent parameter. Instead the parent context is defined using a with statement. It is also passed to event handlers and timers.  In the demo, the label \"Card content\" is added to the card. And because the ui.button is also added to the card, the label \"Click!\" will also be created in this context. The label \"Tick!\", which is added once after one second, is also added to the card.  This design decision allows for easily creating modular components that keep working after moving them around in the UI. For example, you can move label and button somewhere else, maybe wrap them in another container, and the code will still work.",