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

Method getElementRef

src/cdk/scrolling/scrollable.ts:76–78  ·  view source on GitHub ↗

Gets the ElementRef for the viewport.

()

Source from the content-addressed store, hash-verified

74
75 /** Gets the ElementRef for the viewport. */
76 getElementRef(): ElementRef<HTMLElement> {
77 return this.elementRef;
78 }
79
80 /**
81 * Scrolls to the specified offsets. This is a normalized version of the browser's native scrollTo

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected