logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

pinch_zoom.js (250B)


  1. import PinchZoom from '@kazvmoe-infra/pinch-zoom-element'
  2. export default {
  3. methods: {
  4. setTransform ({ scale, x, y }) {
  5. this.$el.setTransform({ scale, x, y })
  6. }
  7. },
  8. created () {
  9. // Make lint happy
  10. (() => PinchZoom)()
  11. }
  12. }