We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e401d6 commit 33ec85bCopy full SHA for 33ec85b
1 file changed
website/documentation/content/navigate_documentation.py
@@ -20,10 +20,14 @@ def open_github() -> None:
20
21
22
@doc.demo('Push and replace URLs', '''
23
- The `history` object allows you to push and replace URLs to the browser history.
+ The `history` API allows you to push and replace URLs to the browser history.
24
25
While the `history.push` method pushes a new URL to the history,
26
the `history.replace` method replaces the current URL.
27
+
28
+ See `JavaScript's History API <https://developer.mozilla.org/en-US/docs/Web/API/History>`_ for more information.
29
30
+ *Added in version 2.13.0*
31
''')
32
def history_demo() -> None:
33
ui.button('Push URL', on_click=lambda: ui.navigate.history.push('/a'))
0 commit comments