MCPcopy
hub / github.com/angular/angular / setScroll

Function setScroll

packages/router/test/router_scroller.spec.ts:374–376  ·  view source on GitHub ↗
(viewportScroller: any, x: number, y: number)

Source from the content-addressed store, hash-verified

372}
373
374function setScroll(viewportScroller: any, x: number, y: number) {
375 viewportScroller.getScrollPosition.and.returnValue([x, y]);
376}

Callers 2

createRouterScrollerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…