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

Unified Diff: third_party/polymer/v1_0/components/paper-button/paper-button.html

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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: third_party/polymer/v1_0/components/paper-button/paper-button.html
diff --git a/third_party/polymer/v1_0/components/paper-button/paper-button.html b/third_party/polymer/v1_0/components/paper-button/paper-button.html
index 897ccc6022b9d9bb86d2586c70d99862740cccc7..7f5117bc561c046e926b2f5d936815c7ad791862 100644
--- a/third_party/polymer/v1_0/components/paper-button/paper-button.html
+++ b/third_party/polymer/v1_0/components/paper-button/paper-button.html
@@ -26,12 +26,17 @@ Example:
<paper-button>flat button</paper-button>
<paper-button raised>raised button</paper-button>
<paper-button noink>No ripple effect</paper-button>
+ <paper-button toggles>toggle-able button</paper-button>
+
+A button that has `toggles` true will remain `active` after being clicked (and
+will have an `active` attribute set). For more information, see the `Polymer.IronButtonState`
+behavior.
You may use custom DOM in the button body to create a variety of buttons. For example, to
create a button with an icon and some text:
<paper-button>
- <core-icon icon="favorite"></core-icon>
+ <iron-icon icon="favorite"></iron-icon>
custom button content
</paper-button>

Powered by Google App Engine
This is Rietveld 408576698