()
| 1558 | @ViewChild(CdkScrollable) scrollingContainer!: CdkScrollable; |
| 1559 | |
| 1560 | scrollDown() { |
| 1561 | const scrollingContainerEl = this.scrollingContainer.getElementRef().nativeElement; |
| 1562 | scrollingContainerEl.scrollTop = 250; |
| 1563 | |
| 1564 | // Emit a scroll event from the scrolling element in our component. |
| 1565 | // This event should be picked up by the scrollable directive and notify. |
| 1566 | // The notification should be picked up by the service. |
| 1567 | dispatchFakeEvent(scrollingContainerEl, 'scroll'); |
| 1568 | } |
| 1569 | } |
| 1570 | |
| 1571 | @Component({ |
no test coverage detected