Explorar o código

tiny correction

Falko Schindler %!s(int64=2) %!d(string=hai) anos
pai
achega
f0ccc85c03
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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())