Use pinch-zoom-element for pinch zoom functionality

This commit is contained in:
Tusooa Zhu 2021-08-02 17:42:10 -04:00
parent 544db06294
commit a36673a6a8
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
8 changed files with 94 additions and 16 deletions

View file

@ -1,6 +1,7 @@
import StillImage from '../still-image/still-image.vue'
import VideoAttachment from '../video_attachment/video_attachment.vue'
import Modal from '../modal/modal.vue'
import PinchZoom from '../pinch_zoom/pinch_zoom.vue'
import fileTypeService from '../../services/file_type/file_type.service.js'
import GestureService from '../../services/gesture_service/gesture_service'
import Flash from 'src/components/flash/flash.vue'
@ -26,12 +27,14 @@ const MediaModal = {
components: {
StillImage,
VideoAttachment,
PinchZoom,
Modal,
Flash
},
data () {
return {
loading: false
loading: false,
pinchZoomOptions: {}
}
},
computed: {