You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to test through resizable, and it seems the easiest way is through simulate? However, in doing so it seems I need to specify pressure, rotation, etc.?
The text was updated successfully, but these errors were encountered:
interact('.resize').resizeable(true).on('resizemove',function(event){vartarget=event.target;// add the change in coords to the previous width of the target elementvarnewWidth=parseFloat(target.style.width)+event.dx,newHeight=parseFloat(target.style.height)+event.dy;// update the element's styletarget.style.width=newWidth+'px';target.style.height=newHeight+'px';target.textContent=newWidth+'×'+newHeight;});
I'm trying to test through resizable, and it seems the easiest way is through simulate? However, in doing so it seems I need to specify pressure, rotation, etc.?
The text was updated successfully, but these errors were encountered: