Releases: wid-la/wid-cards-grid
Releases · wid-la/wid-cards-grid
Breaking Changes.
The api has changed.
You can know pass whatever element to the grid.
<wid-cards-grid on-card-tap="_onCardTap">
<template is="dom-repeat" items="[[cards]]" as="card">
<wid-card card importance="[[card.importance]]">
<iron-image class="flex-auto" src="[[card.tileImage]]" sizing="cover" hidden$="[[!card.tileImage]]"></iron-image>
<div class="caption layout horizontal center-center">
<iron-icon src="[[card.tileIcon]]" hidden$="[[!card.tileIcon]]"></iron-icon>
<div class="layout vertical center-center tile-content">
<h4 title hidden$="[[!card.name]]">[[card.name]]</h4>
<p category hidden$="[[!card.category]]">[[card.category]]</p>
</div>
</div>
</wid-card>
</template>
</wid-cards-grid>v1.0.3
Fix resize bug when switching from desktop to mobile.
Fix jshint. Remove the possibility to hide currentCard.
Initial release.
1.0.0