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've been trying to use your zoom() and update() methods in a code snippet but so far it doesn't do anything. What did I get wrong ?
Here's the code snippet I used
$(function(){varr=$('#results'),x=$('.cropX',r),y=$('.cropY',r),w=$('.cropW',r),h=$('.cropH',r);$('#cropimage').cropbox({width: 200,height: 200}).on('cropbox',function(event,results,img){x.text(results.cropX);y.text(results.cropY);w.text(results.cropW);h.text(results.cropH);});crop=$('#cropimage').data('cropbox');crop.zoom(1);// or zoom(0);crop.update();});
Thanks !
The text was updated successfully, but these errors were encountered:
Hello,
I've been trying to use your zoom() and update() methods in a code snippet but so far it doesn't do anything. What did I get wrong ?
Here's the code snippet I used
Thanks !
The text was updated successfully, but these errors were encountered: