MCPcopy Create free account
hub / github.com/angular/components / elementScrolled

Method elementScrolled

src/cdk/scrolling/scrollable.ts:71–73  ·  view source on GitHub ↗

Returns observable that emits when a scroll event is fired on the host element.

()

Source from the content-addressed store, hash-verified

69
70 /** Returns observable that emits when a scroll event is fired on the host element. */
71 elementScrolled(): Observable<Event> {
72 return this._elementScrolled;
73 }
74
75 /** Gets the ElementRef for the viewport. */
76 getElementRef(): ElementRef<HTMLElement> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected