forked from github/quartz
add highlight class
This commit is contained in:
1 parent
50efa14bd2
commit
2802aa91f4
4 files changed
+46
-41
No files matched your search
@@ -167,6 +167,9 @@ You can also add the equivalent of a `beforeunload` event for [[SPA Routing]] vi
|
||||
document.addEventListener("prenav", () => {
|
||||
// executed after an SPA navigation is triggered but
|
||||
// before the page is replaced
|
||||
// one usage pattern is to store things in sessionStorage
|
||||
// in the prenav and then conditionally load then in the consequent
|
||||
// nav
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user