()
| 4649 | } |
| 4650 | |
| 4651 | previous() { |
| 4652 | if (this.animating) return; |
| 4653 | const nextIndex = |
| 4654 | this.state.activeIndex === 0 |
| 4655 | ? this.items.length - 1 |
| 4656 | : this.state.activeIndex - 1; |
| 4657 | this.setState({ activeIndex: nextIndex }); |
| 4658 | } |
| 4659 | |
| 4660 | goToIndex(newIndex: number) { |
| 4661 | if (this.animating) return; |
no outgoing calls
no test coverage detected