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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-input/paper-input-error-extracted.js

Issue 1336623003: [MD settings] updating polymer to 1.1.13 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed Polymer.IronCheckedElementBehavior name Created 5 years, 3 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 unified diff | Download patch
OLDNEW
1 (function() { 1 Polymer({
2
3 Polymer({
4
5 is: 'paper-input-error', 2 is: 'paper-input-error',
6 3
7 behaviors: [ 4 behaviors: [
8 Polymer.PaperInputAddonBehavior 5 Polymer.PaperInputAddonBehavior
9 ], 6 ],
10 7
11 properties: { 8 properties: {
12
13 /** 9 /**
14 * True if the error is showing. 10 * True if the error is showing.
15 */ 11 */
16 invalid: { 12 invalid: {
17 readOnly: true, 13 readOnly: true,
18 reflectToAttribute: true, 14 reflectToAttribute: true,
19 type: Boolean 15 type: Boolean
20 } 16 }
21
22 }, 17 },
23 18
24 update: function(state) { 19 update: function(state) {
25 this._setInvalid(state.invalid); 20 this._setInvalid(state.invalid);
26 } 21 }
27 22 });
28 })
29
30 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698