move closing logic to drawer, add swipe to close
This commit is contained in:
parent
f72b1d048e
commit
e46b560ead
5 changed files with 78 additions and 62 deletions
|
@ -30,8 +30,7 @@ export default {
|
|||
window.CSS.supports('-moz-mask-size', 'contain') ||
|
||||
window.CSS.supports('-ms-mask-size', 'contain') ||
|
||||
window.CSS.supports('-o-mask-size', 'contain')
|
||||
),
|
||||
showMobileSidebar: false
|
||||
)
|
||||
}),
|
||||
created () {
|
||||
// Load the locale from the storage
|
||||
|
@ -93,7 +92,7 @@ export default {
|
|||
this.finderHidden = hidden
|
||||
},
|
||||
toggleMobileSidebar () {
|
||||
this.showMobileSidebar = !this.showMobileSidebar
|
||||
this.$refs.sideDrawer.toggleDrawer()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue