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

Function constructor

src/UncontrolledCarousel.js:22–31  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

20
21class UncontrolledCarousel extends Component {
22 constructor(props) {
23 super(props);
24 this.animating = false;
25 this.state = { activeIndex: props.defaultActiveIndex || 0 };
26 this.next = this.next.bind(this);
27 this.previous = this.previous.bind(this);
28 this.goToIndex = this.goToIndex.bind(this);
29 this.onExiting = this.onExiting.bind(this);
30 this.onExited = this.onExited.bind(this);
31 }
32
33 onExiting() {
34 this.animating = true;

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…