module events {
interface [
AppleCopyright,
] TouchEvent : UIEvent {
void initTouchEvent(in DOMString type,
in boolean canBubble,
in boolean cancelable,
in DOMWindow view,
in long detail,
in long screenX,
in long screenY,
in long clientX,
in long clientY,
in boolean ctrlKey,
in boolean altKey,
in boolean shiftKey,
in boolean metaKey,
in TouchList touches,
in TouchList targetTouches,
in TouchList changedTouches,
in float scale,
in float rotation);
readonly attribute TouchList touches; readonly attribute TouchList targetTouches; readonly attribute TouchList changedTouches;
readonly attribute float scale; readonly attribute float rotation;
readonly attribute boolean ctrlKey;
readonly attribute boolean shiftKey;
readonly attribute boolean altKey;
readonly attribute boolean metaKey;
};
}