Goes to the next set of items
()
| 86 | |
| 87 | /** Goes to the next set of items */ |
| 88 | next() { |
| 89 | for (let i = this.index; i < this.items().length; i++) { |
| 90 | if (this._isOutOfView(i)) { |
| 91 | this.index = i; |
| 92 | this._scrollToActiveItem(); |
| 93 | break; |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | /** Goes to the previous set of items. */ |
| 99 | previous() { |
no test coverage detected