瀏覽代碼

updated index

Rodja Trappe 1 年之前
父節點
當前提交
b70a0a67d3
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      website/static/search_index.json

+ 6 - 1
website/static/search_index.json

@@ -266,9 +266,14 @@
   },
   },
   {
   {
     "title": "Lifecycle",
     "title": "Lifecycle",
-    "content": "Shut down NiceGUI.  This will programmatically stop the server. Only possible when auto-reload is disabled.",
+    "content": "Overview",
     "url": "/documentation/#lifecycle"
     "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",
     "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.",
     "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.",