repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
ApplicationImpl cleanup, part 1:
[chromium-blink-merge.git]
/
third_party
/
polymer
/
v1_0
/
components-chromium
/
paper-input
/
paper-input-error-extracted.js
blob
2d0ff41a3058cdf80e88b0460f096637bd074de1
1
2
3
(function() {
4
5
Polymer({
6
7
is: 'paper-input-error',
8
9
behaviors: [
10
Polymer.PaperInputAddonBehavior
11
],
12
13
properties: {
14
15
/**
16
* True if the error is showing.
17
*/
18
invalid: {
19
readOnly: true,
20
reflectToAttribute: true,
21
type: Boolean
22
}
23
24
},
25
26
update: function(state) {
27
this._setInvalid(state.invalid);
28
}
29
30
})
31
32
})();
33