Sha256: 5dab11ad7a5abed15a495e68ba3d9e36a7c7d721267a91b16bdb8f0abc822ba2
Contents?: true
Size: 346 Bytes
Versions: 5
Compression:
Stored size: 346 Bytes
Contents
import "../core/array"; import "event"; import "mouse"; d3.touches = function(container, touches) { if (arguments.length < 2) touches = d3_eventSource().touches; return touches ? d3_array(touches).map(function(touch) { var point = d3_mousePoint(container, touch); point.identifier = touch.identifier; return point; }) : []; };
Version data entries
5 entries across 5 versions & 3 rubygems