Translate the view by dragging with the mouse or one finger. Rotate, scale and translate the view using two fingers at once.
This example is based on the transform behavior, which is in turn based on the mtouch events.
Mtouch events allows treating mouse events and touch events the same way. It supports the events "touch", "release", "tap", "dbltap", "hold", "drag" and "mdrag". The "mdrag" event is dispatched per mousemove/touchmove DOM event and can contain multiple changed touches at once, while all the other events are dispatched per touch.