(props)
| 20 | |
| 21 | class 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; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…