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

Unified Diff: third_party/polymer/v1_0/components/paper-input/paper-input-behavior.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: 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-input/paper-input-behavior.html
diff --git a/third_party/polymer/v1_0/components/paper-input/paper-input-behavior.html b/third_party/polymer/v1_0/components/paper-input/paper-input-behavior.html
index 1e72e983eb2772356768528121a84b556ca5cadf..0afbc832c46991b9704dcfbbc2f57fc96d5875e0 100644
--- a/third_party/polymer/v1_0/components/paper-input/paper-input-behavior.html
+++ b/third_party/polymer/v1_0/components/paper-input/paper-input-behavior.html
@@ -8,6 +8,7 @@ Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<link rel="import" href="../polymer/polymer.html">
+<link rel="import" href="../iron-behaviors/iron-control-state.html">
<script>
@@ -19,9 +20,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
*
* The input element can be accessed by the `inputElement` property if you need to access
* properties or methods that are not exposed.
- * @polymerBehavior
+ * @polymerBehavior Polymer.PaperInputBehavior
*/
- Polymer.PaperInputBehavior = {
+ Polymer.PaperInputBehaviorImpl = {
properties: {
@@ -84,6 +85,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
},
/**
+ * The datalist of the input (if any). This should match the id of an existing <datalist>. Bind this
+ * to the `<input is="iron-input">`'s `list` property.
+ */
+ list: {
+ type: String
+ },
+
+ /**
* A pattern to validate the `input` with. Bind this to the `<input is="iron-input">`'s
* `pattern` property.
*/
@@ -314,4 +323,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
};
+ Polymer.PaperInputBehavior = [Polymer.IronControlState, Polymer.PaperInputBehaviorImpl];
+
</script>

Powered by Google App Engine
This is Rietveld 408576698