浏览代码

tiny correction

Falko Schindler 2 年之前
父节点
当前提交
f0ccc85c03
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nicegui/client.py

+ 1 - 1
nicegui/client.py

@@ -112,7 +112,7 @@ class Client:
         """Execute JavaScript on the client.
 
         The client connection must be established before this method is called.
-        You can do this by `await client.connected()` or register a callback with `client.on_connected(...)`.
+        You can do this by `await client.connected()` or register a callback with `client.on_connect(...)`.
         If respond is True, the javascript code must return a string.
         """
         request_id = str(uuid.uuid4())