mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
FileActionsMobile.vue refactoring
This commit is contained in:
20
resources/js/helpers/functionHelpers.js
vendored
20
resources/js/helpers/functionHelpers.js
vendored
@@ -339,6 +339,26 @@ const FunctionHelpers = {
|
||||
// Show panel if is not open
|
||||
this.$store.dispatch('fileInfoToggle', true)
|
||||
}
|
||||
|
||||
Vue.prototype.$openSpotlight = function () {
|
||||
events.$emit('spotlight:show')
|
||||
}
|
||||
|
||||
Vue.prototype.$showLocations = function () {
|
||||
events.$emit('mobile-menu:show', 'file-filter')
|
||||
}
|
||||
|
||||
Vue.prototype.$createItems = function () {
|
||||
events.$emit('mobile-menu:show', 'create-list')
|
||||
}
|
||||
|
||||
Vue.prototype.$enableMultiSelectMode = function () {
|
||||
events.$emit('mobileSelecting:start')
|
||||
}
|
||||
|
||||
Vue.prototype.$showViewOptions = function () {
|
||||
events.$emit('mobile-menu:show', 'file-sorting')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user