Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ constructor
Method
constructor
adev/src/app/app-scroller.ts:38–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
36
}
37
38
constructor() {
39
if
(this.isBrowser) {
40
this.setupScrollRestoration();
41
}
42
}
43
44
private setupScrollRestoration(): void {
45
let
windowWidth = window.innerWidth;
Callers
nothing calls this directly
Calls
1
setupScrollRestoration
Method · 0.95
Tested by
no test coverage detected