Does anybody know how to use CSS3 Webkit translate3d instead of normal left css with d3.js. On iPhone translate3d run faster and I need to do it on a transition after a release of an HTML element.
Here is my code for the left css :
d3.select("#myHTMLElem").transition()
.style("left", myNewPosX) + "px")
.duration(500)
.ease("cubic-in-out")
.each("end", function(d) {
// Do something after
});
There is something with JQuery, but I would prefer to keep using d3.js for this project. Any idea how to make the previous code using the translate3d instead of the left property?
Thanks