Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: lib/src/paper-card/paper-card.html

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: update pubspec/changelog Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/src/paper-card/paper-card.html
diff --git a/lib/src/paper-card/paper-card.html b/lib/src/paper-card/paper-card.html
index 8da83cfdfb203ce3dae306d4350e26463225149d..9ed860abccf87becfb1e2ba82850394dffd66478 100644
--- a/lib/src/paper-card/paper-card.html
+++ b/lib/src/paper-card/paper-card.html
@@ -26,6 +26,12 @@ Example:
</div>
</paper-card>
+Example - top card image:
+
+ <paper-card heading="Card Title" image="/path/to/image.png">
+ ...
+ </paper-card>
+
### Accessibility
By default, the `aria-label` will be set to the value of the `heading` attribute.

Powered by Google App Engine
This is Rietveld 408576698