ApplicationImpl cleanup, part 1:
[chromium-blink-merge.git] / third_party / polymer / v1_0 / components-chromium / paper-input / paper-input-error-extracted.js
blob2d0ff41a3058cdf80e88b0460f096637bd074de1
3 (function() {
5   Polymer({
7     is: 'paper-input-error',
9     behaviors: [
10       Polymer.PaperInputAddonBehavior
11     ],
13     properties: {
15       /**
16        * True if the error is showing.
17        */
18       invalid: {
19         readOnly: true,
20         reflectToAttribute: true,
21         type: Boolean
22       }
24     },
26     update: function(state) {
27       this._setInvalid(state.invalid);
28     }
30   })
32 })();