You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ A route is the end of the URL. The route can either be `/` or start with a `#`.
131
131
```
132
132
133
133
##### Redirects
134
-
The `tApp.redirect(path)` function redirects the URL to `path`. The `path` can be relative (`#/`) or absolute (`https://www.example.com/`).
134
+
The `tApp.redirect(path, title = document.title)` function redirects the URL to `path` with title `title` (defaults to current page title). The `path` can be relative (`#/`) or absolute (`https://www.example.com/`).
0 commit comments