This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gridlist): Now supports custom interpolation symbols
fix(gridlist): Couple of demo fixes fix(gridlist): Tiles can now be rearranged using ngRepeat fix(gridlist): Reduces the number of layouts Fixes #1874, Fixes #1859, Fixes #1824, Fixes #1663, Fixes #1671, Closes #2168
- Loading branch information
1 parent
3cc914d
commit f037b8c
Showing
4 changed files
with
75 additions
and
45 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 |
---|---|---|
@@ -1,18 +1,17 @@ | ||
<div ng-app="gridListDemo" ng-controller="gridListDemoCtrl as vm" flex> | ||
<md-button ng-click="vm.rotate()">Rotate</md-button> | ||
<md-grid-list | ||
md-cols-sm="1" md-cols-md="2" md-cols-gt-md="6" | ||
md-row-height-gt-md="1:1" md-row-height="4:3" | ||
md-gutter="8px" md-gutter-gt-sm="4px" > | ||
|
||
<md-grid-list | ||
md-cols-sm="1" md-cols-md="2" md-cols-gt-md="6" | ||
md-row-height-gt-md="1:1" md-row-height="4:3" | ||
md-gutter="8px" md-gutter-gt-sm="4px" > | ||
|
||
<md-grid-tile ng-repeat="tile in vm.tiles" | ||
md-rowspan="{{tile.span.row}}" | ||
md-colspan="{{tile.span.col}}" | ||
ng-class="tile.background" > | ||
<md-icon md-svg-icon="{{tile.icon}}"></md-icon> | ||
<md-grid-tile-footer><h3>{{tile.title}}</h3></md-grid-tile-footer> | ||
</md-grid-tile> | ||
|
||
</md-grid-list> | ||
|
||
<md-grid-tile ng-repeat="tile in vm.tiles" | ||
md-rowspan="{{tile.span.row}}" | ||
md-colspan="{{tile.span.col}}" | ||
md-colspan-sm="1" | ||
ng-class="tile.background" > | ||
<md-icon md-svg-icon="{{tile.icon}}"></md-icon> | ||
<md-grid-tile-footer><h3>{{tile.title}}</h3></md-grid-tile-footer> | ||
</md-grid-tile> | ||
</md-grid-list> | ||
</div> |
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