mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-23 01:32:15 +00:00
add close sortingAndPreview after click anywhere in application
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div id="vue-file-manager" v-cloak>
|
||||
<div id="vue-file-manager" v-cloak @click="close">
|
||||
|
||||
<!--System alerts-->
|
||||
<Alert/>
|
||||
@@ -135,6 +135,11 @@
|
||||
isScaledDown: false,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
close () {
|
||||
events.$emit('sortingAndPreview', false)
|
||||
}
|
||||
},
|
||||
beforeMount() {
|
||||
|
||||
// Store config to vuex
|
||||
|
||||
Reference in New Issue
Block a user