Skip to content

Commit 33ec85b

Browse files
extend documentation
1 parent 3e401d6 commit 33ec85b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

website/documentation/content/navigate_documentation.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,14 @@ def open_github() -> None:
2020

2121

2222
@doc.demo('Push and replace URLs', '''
23-
The `history` object allows you to push and replace URLs to the browser history.
23+
The `history` API allows you to push and replace URLs to the browser history.
2424
2525
While the `history.push` method pushes a new URL to the history,
2626
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*
2731
''')
2832
def history_demo() -> None:
2933
ui.button('Push URL', on_click=lambda: ui.navigate.history.push('/a'))

0 commit comments

Comments
 (0)