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

Method constructor

src/CarouselItem.js:14–26  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

12
13class CarouselItem extends React.Component {
14 constructor(props) {
15 super(props);
16
17 this.state = {
18 startAnimation: false,
19 };
20
21 this.onEnter = this.onEnter.bind(this);
22 this.onEntering = this.onEntering.bind(this);
23 this.onExit = this.onExit.bind(this);
24 this.onExiting = this.onExiting.bind(this);
25 this.onExited = this.onExited.bind(this);
26 }
27
28 onEnter(node, isAppearing) {
29 this.setState({ startAnimation: false });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected