Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
374
function
setScroll(viewportScroller: any, x: number, y: number) {
375
viewportScroller.getScrollPosition.and.returnValue([x, y]);
376
}
Callers
2
router_scroller.spec.ts
File · 0.85
createRouterScroller
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected