Add router debugging keys
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 37s
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 37s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -74,14 +74,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created () {
|
async created () {
|
||||||
/*
|
document.addEventListener('keydown', e => {
|
||||||
document.addEventListener('wheel', event => {
|
if (e.code == 'KeyR') {
|
||||||
event.preventDefault()
|
console.log(f7.views.main.router.history)
|
||||||
}, {passive: false})
|
}
|
||||||
document.addEventListener('touchmove', event => {
|
if (e.code == 'KeyB') {
|
||||||
event.preventDefault()
|
f7.views.main.router.back()
|
||||||
}, {passive: false})
|
}
|
||||||
*/
|
})
|
||||||
if (!window.cordova) {
|
if (!window.cordova) {
|
||||||
const confText = await fetch('./conf/conf.yaml')
|
const confText = await fetch('./conf/conf.yaml')
|
||||||
.then((mod) => { return mod.text() })
|
.then((mod) => { return mod.text() })
|
||||||
|
|||||||
Reference in New Issue
Block a user