mirror of
https://github.com/metosin/reitit.git
synced 2026-02-01 18:30:33 +00:00
Update doc/frontend/browser.md
Co-Authored-By: Deraen <juho.teperi@iki.fi>
This commit is contained in:
parent
51c5aad492
commit
f8f44b9ea6
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ HTML5 History router will handle click events on anchors where the href
|
||||||
matches the route tree (and other [rules](../../modules/reitit-frontend/src/reitit/frontend/history.cljs#L84-L98)).
|
matches the route tree (and other [rules](../../modules/reitit-frontend/src/reitit/frontend/history.cljs#L84-L98)).
|
||||||
If you have need to control this logic, for example to handle some
|
If you have need to control this logic, for example to handle some
|
||||||
anchor clicks where the href matches route tree normally (i.e. browser load)
|
anchor clicks where the href matches route tree normally (i.e. browser load)
|
||||||
you can provide `:ignore-anchor-click` function to add your own logic to
|
you can provide `:ignore-anchor-click?` function to add your own logic to
|
||||||
event handling:
|
event handling:
|
||||||
|
|
||||||
```clj
|
```clj
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue