Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ constructor
Method
constructor
packages/router/test/bootstrap.spec.ts:127–130 ·
view source on GitHub ↗
(router: Router)
Source
from the content-addressed store, hash-verified
125
})
126
class
TestModule {
127
constructor(router: Router) {
128
log.push(
'TestModule'
);
129
router.events.subscribe((e) => log.push(e.constructor.name));
130
}
131
}
132
133
await
platformBrowser([])
Callers
nothing calls this directly
Calls
2
subscribe
Method · 0.65
push
Method · 0.45
Tested by
no test coverage detected