Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnInit
Method
ngOnInit
src/material/select/select.spec.ts:4845–4847 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4843
})
4844
class
ThrowsErrorOnInit implements OnInit {
4845
ngOnInit() {
4846
throw Error(
'Oh no!'
);
4847
}
4848
}
4849
4850
@Component({
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected