Skip to content

Commit

Permalink
chore: fix typo in routing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
iisakkirotko committed Oct 14, 2024
1 parent 829e128 commit b920ec2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Note that all routes are relative, since a component does not know if it is embe


Therefore you should never use the `route.path` for navigation since the route object has no knowledge of the full url
(e.g. `/docs/basics/ipywigets`) but only knows its small piece of the pathname (e.g. `ipywidgets`)
(e.g. `/docs/basics/ipywidgets`) but only knows its small piece of the pathname (e.g. `ipywidgets`)

Using [`resolve_path`](/documentation/api/routing/resolve_path) we can request the full url for navigation.

Expand Down

0 comments on commit b920ec2

Please sign in to comment.