| 185 | protected abstract _itemSelected(event: KeyboardEvent): void; |
| 186 | |
| 187 | ngAfterViewInit() { |
| 188 | // We need to handle these events manually, because we want to bind passive event listeners. |
| 189 | |
| 190 | this._eventCleanups.push( |
| 191 | this._renderer.listen( |
| 192 | this._previousPaginator.nativeElement, |
| 193 | 'touchstart', |
| 194 | () => this._handlePaginatorPress('before'), |
| 195 | passiveEventListenerOptions, |
| 196 | ), |
| 197 | this._renderer.listen( |
| 198 | this._nextPaginator.nativeElement, |
| 199 | 'touchstart', |
| 200 | () => this._handlePaginatorPress('after'), |
| 201 | passiveEventListenerOptions, |
| 202 | ), |
| 203 | ); |
| 204 | } |
| 205 | |
| 206 | ngAfterContentInit() { |
| 207 | const dirChange = this._dir ? this._dir.change : observableOf('ltr'); |