Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface TouchEvent : UIEvent {
- readonly attribute TouchList touches;
- readonly attribute TouchList targetTouches;
- readonly attribute TouchList changedTouches;
- 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);
- }
- interface TouchList {
- readonly attribute unsigned long length;
- Touch item(in unsigned long index);
- }
- interface Touch {
- readonly attribute long clientX;
- readonly attribute long clientY;
- readonly attribute unsigned long identifier;
- readonly attribute long pageX;
- readonly attribute long pageY;
- readonly attribute long screenX;
- readonly attribute long screenY;
- readonly attribute EventTarget target;
- readonly attribute float speedX;
- readonly attribute float speedY;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement