MCPcopy Index your code
hub / github.com/react-toolbox/react-toolbox / touchStart

Method touchStart

components/time_picker/ClockHand.js:78–82  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

76 }
77
78 touchStart (event) {
79 events.addEventsToDocument(this.getTouchEventMap());
80 this.move(events.getTouchPosition(event));
81 events.pauseEvent(event);
82 }
83
84 getPositionRadius (position) {
85 const x = this.props.origin.x - position.x;

Callers 3

ClockMinutes.jsFile · 0.80
ClockHours.jsFile · 0.80
index.spec.jsFile · 0.80

Calls 2

getTouchEventMapMethod · 0.95
moveMethod · 0.95

Tested by

no test coverage detected