Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnInit
Method
ngOnInit
src/material/grid-list/grid-list.ts:117–120 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
115
}
116
117
ngOnInit() {
118
this._checkCols();
119
this._checkRowHeight();
120
}
121
122
/**
123
* The layout calculation is fairly cheap
if
nothing changes, so there's little cost
Callers
nothing calls this directly
Calls
2
_checkCols
Method · 0.95
_checkRowHeight
Method · 0.95
Tested by
no test coverage detected