MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / handleTouchStart

Method handleTouchStart

src/Carousel.js:134–140  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

132 }
133
134 handleTouchStart(e) {
135 if (!this.props.enableTouch) {
136 return;
137 }
138 this.touchStartX = e.changedTouches[0].screenX;
139 this.touchStartY = e.changedTouches[0].screenY;
140 }
141
142 handleTouchEnd(e) {
143 if (!this.props.enableTouch) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected