MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / createNativeTouchList

Function createNativeTouchList

javascript/atoms/events.js:442–449  ·  view source on GitHub ↗
(touchListArgs)

Source from the content-addressed store, hash-verified

440
441 // Creates a TouchList, using native touch Api, for touch events.
442 function createNativeTouchList(touchListArgs) {
443 var touches = goog.array.map(touchListArgs, function (touchArg) {
444 return doc.createTouch(view, target, touchArg.identifier,
445 touchArg.pageX, touchArg.pageY, touchArg.screenX, touchArg.screenY);
446 });
447
448 return doc.createTouchList.apply(doc, touches);
449 }
450
451 // Creates a TouchList, using simulated touch Api, for touch events.
452 function createGenericTouchList(touchListArgs) {

Callers 1

createTouchListFunction · 0.85

Calls 2

mapMethod · 0.45
applyMethod · 0.45

Tested by

no test coverage detected