d3.touches( container ) in D3.js

Find multiple x,y coordinates of the current touch events relative to a container element.

Arguments

nametypedescription
container Element The HTML or SVG container element to find the coordinates relative to.
Return Type
Array

Description

For more details see https://github.com/mbostock/d3/wiki/Selections#wiki-d3_touches.

See Also