jQuery Drag/Resize with CSS Transform Scale

前端 未结 13 2017
忘了有多久
忘了有多久 2020-11-27 13:39

I am applying a CSS transform (and the browser specific -webkit, -o etc):

transform: matrix(0.5 , 0 , 0, 0.5, 0 , 0);

to a div then using jQuery\'s draggable

13条回答
  •  旧时难觅i
    2020-11-27 14:19

    My own "answer" was on this occasion was to adapt jQuery UI draggable to make a separate interaction, called "traggable".

    https://github.com/paullth/JS-libs

    http://jsfiddle.net/paul_herve/ws27C/4/

    Would still like to hear about any alternatives...

提交回复
热议问题