mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 08:51:12 +00:00
Fix rfe/start! example arity
The second arg should be the on-navigate callback and the opts should be the third arg.
This commit is contained in:
parent
afd0af83be
commit
218cd4be69
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ event handling:
|
||||||
```clj
|
```clj
|
||||||
(rfe/start!
|
(rfe/start!
|
||||||
router
|
router
|
||||||
|
on-navigate-fn
|
||||||
{:use-fragment false
|
{:use-fragment false
|
||||||
:ignore-anchor-click? (fn [router e el uri]
|
:ignore-anchor-click? (fn [router e el uri]
|
||||||
;; Add additional check on top of the default checks
|
;; Add additional check on top of the default checks
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue