TouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, String type, { Window view, int screenX: 0, int screenY: 0, int clientX: 0, int clientY: 0, bool ctrlKey: false, bool altKey: false, bool shiftKey: false, bool metaKey: false })
Source
factory TouchEvent(TouchList touches, TouchList targetTouches,
TouchList changedTouches, String type,
{Window view, int screenX: 0, int screenY: 0, int clientX: 0,
int clientY: 0, bool ctrlKey: false, bool altKey: false,
bool shiftKey: false, bool metaKey: false}) {
if (view == null) {
view = window;
}
TouchEvent e = document._createEvent("TouchEvent");
e._initTouchEvent(touches, targetTouches, changedTouches, type, view,
screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey);
return e;
}