This repository has been archived by the owner on Feb 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(grid_list): issue with changes happening after being checked
- setTimeout on layout after content check happens. - add sanity check test for component lifecycle.
- Loading branch information
1 parent
e9b208b
commit c449c60
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import {componentSanityCheck} from "../../util"; | ||
|
||
export function main() { | ||
let template = ` | ||
<md-grid-list cols="4" row-height="50px" gutter-size="2em" id="complex"> | ||
<md-grid-tile rowspan="1" colspan="2"> Tile #1 </md-grid-tile> | ||
<md-grid-tile rowspan="1" colspan="1"> Tile #2 </md-grid-tile> | ||
<md-grid-tile rowspan="3" colspan="1"> Tile #3 </md-grid-tile> | ||
<md-grid-tile rowspan="2" colspan="2"> Tile #4 </md-grid-tile> | ||
<md-grid-tile rowspan="1" colspan="3"> Tile #5 </md-grid-tile> | ||
</md-grid-list> | ||
`; | ||
componentSanityCheck('Grid List', 'md-grid-list', template); | ||
} | ||
|