浏览代码

improved documentation

Rodja Trappe 2 年之前
父节点
当前提交
1aea60817c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      nicegui/run.py

+ 2 - 2
nicegui/run.py

@@ -44,8 +44,8 @@ def run(*,
     :param dark: whether to use Quasar's dark mode (default: `False`, use `None` for "auto" mode)
     :param binding_refresh_interval: time between binding updates (default: `0.1` seconds, bigger is more CPU friendly)
     :param show: automatically open the UI in a browser tab (default: `True`)
-    :param standalone: open the UI in a standalone window (default: `False`, overrides `show`)
-    :param fullscreen: open the UI in a fullscreen, standalone window (default: `False`, overrides `show` and `standalone`)
+    :param standalone: open the UI in a standalone window (default: `False`, overrides `show`, automatically finds an open port)
+    :param fullscreen: open the UI in a fullscreen, standalone window (default: `False`, also activates `standalone`)
     :param reload: automatically reload the UI on file changes (default: `True`)
     :param uvicorn_logging_level: logging level for uvicorn server (default: `'warning'`)
     :param uvicorn_reload_dirs: string with comma-separated list for directories to be monitored (default is current working directory only)