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
functionany_function(obj){// .......obj.css({rotate : 60});// .......}//... any place ....vartarget=$('.xxx');///.............any_function(target);//.............//// NOW, I WILL set position...but this object has rotate css, I can't set it. the // Target.css({ x: 100, y:100 }); // is bad position..// SO:// sort css [BEGIN]varraw=target.css('transit:transform');if(raw){varbak=newArray();for(varkinraw){if(raw.hasOwnProperty(k)){bak.push({key: k,value: raw[k]});}}for(vari=0;i<bak.length;++i){deleteraw[bak[i].key];}raw.set('translate',0,0);for(vari=0;i<bak.length;++i){raw[bak[i].key]=bak[i].value;}target.css('transit:transform',raw);}// sort css [END]Target.css({x: 100,y:100});// IS RIGHT
im css(rotate) at any remote place.
when i will change x,y on after...
it's bad position todo.
it's different result with position .
The text was updated successfully, but these errors were encountered: