MCPcopy Create free account
hub / github.com/flyfloor/react-component / handleAutoPlay

Function handleAutoPlay

component/Carousel.js:47–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 },
46
47 handleAutoPlay(){
48 const {index, count} = this.state;
49 if (index < count) {
50 this.setState({
51 index: index + 1
52 }, () => this.addTransition(this.resetPosition) );
53 }
54 },
55
56 resetAutoplay(){
57 const {autoPlay, delay} = this.props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…