On this page
TouchEvent factory constructor
TouchEvent(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 = _blink.BlinkTouchEvent.instance.constructorCallback_1_(type);
e._initTouchEvent(touches, targetTouches, changedTouches, type, view,
screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey);
return e;
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/TouchEvent/TouchEvent.html