I need to detect if the CSS transform property has changed using jQuery. In firebug the CSS property i'm looking to detect changes on is rendered like this:
-moz-transform: translate(-0px, 0px)
I need to detect whether this has changed to another pixel property. For example:
-moz-transform: translate(-100px, 0px)
More details:
Ultimately I'm trying to detect between a click and a drag on the following demo.
http://cubiq.org/dropbox/iscroll4/examples/carousel/
I figured that I could query mouseup on the current transform property and if it remained the same that it was a click or if the transform property changed it would be a drag.