MCPcopy Create free account
hub / github.com/breck7/scroll / defaultTouchable

Function defaultTouchable

external/.d3.js:19641–19643  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19639}
19640
19641function defaultTouchable() {
19642 return navigator.maxTouchPoints || ("ontouchstart" in this);
19643}
19644
19645function defaultConstrain(transform, extent, translateExtent) {
19646 var dx0 = transform.invertX(extent[0][0]) - translateExtent[0][0],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected