akkoma-fe/src/components/pinch_zoom/pinch_zoom.js

14 lines
250 B
JavaScript
Raw Normal View History

import PinchZoom from '@kazvmoe-infra/pinch-zoom-element'
export default {
methods: {
setTransform ({ scale, x, y }) {
this.$el.setTransform({ scale, x, y })
}
2021-08-02 23:44:01 +00:00
},
created () {
// Make lint happy
(() => PinchZoom)()
}
}