()
| 243 | } |
| 244 | |
| 245 | _handleRight() { |
| 246 | const itemsLength = this._getItems().length; |
| 247 | if (this._currentIndex < itemsLength - 1) { |
| 248 | this._currentIndex += 1; |
| 249 | return; |
| 250 | } |
| 251 | |
| 252 | if (this._behavior === ItemNavigationBehavior.Cyclic) { // go to the first item in the next column |
| 253 | this._currentIndex = 0; |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | _handleHome() { |
| 258 | const homeEndRange = this._rowSize > 1 ? this._rowSize : this._getItems().length; |