onScroll property
Stream<ScrollHostEvent> ?
get
onScroll
The stream of scroll events.
The event stream is running outside of the Angular zone, making it cheap
to consume. If you need to trigger change detection, inject
ChangeDetectorRef
and NgZone
and call
ChangeDetectorRef.markForCheck()
inside NgZone.run()
.
Implementation
Stream<ScrollHostEvent>? get onScroll;