Skip to content

Commit

Permalink
remove false statement about socket IDs in user events (fixes #4016)
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Jan 14, 2025
1 parent c4c86c2 commit 36bc712
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nicegui/functions/navigate.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def to(self, target: Union[Callable[..., Any], str, Element], new_tab: bool = Fa
Note: When using an `auto-index page </documentation/section_pages_routing#auto-index_page>`_ (e.g. no `@page` decorator),
all clients (i.e. browsers) connected to the page will open the target URL unless a socket is specified.
User events like button clicks provide such a socket.
:param target: page function, NiceGUI element on the same page or string that is a an absolute URL or relative path from base URL
:param new_tab: whether to open the target in a new tab (might be blocked by the browser)
Expand Down

0 comments on commit 36bc712

Please sign in to comment.