1 <link rel=
"import" href=
"chrome://resources/polymer/polymer/polymer.html">
2 <link rel=
"import" href=
"chrome://resources/polymer/paper-input/paper-input-decorator.html">
3 <link rel=
"import" href=
"chrome://resources/polymer/core-input/core-input.html">
4 <link rel=
"import" href=
"chrome://resources/cr_elements/cr_events/cr_events.html">
6 <polymer-element name=
"cr-input">
8 <link rel=
"stylesheet" href=
"cr_input.css">
9 <cr-events id=
"events"></cr-events>
11 <!-- TODO(jlklein): Use 'autoValidate' instead of isInvalid binding when
13 <paper-input-decorator id=
"decorator" label=
"{{label}}"
14 floatingLabel=
"{{floatingLabel}}" value=
"{{value}}"
15 disabled?=
"{{disabled}}" error=
"{{error}}"
16 isInvalid=
"{{!$.input.validity.valid}}">
17 <input is=
"core-input" id=
"input" value=
"{{value}}"
18 committedValue=
"{{committedValue}}" disabled?=
"{{disabled}}"
19 required?=
"{{required}}" type=
"{{type}}">
20 </paper-input-decorator>
22 <script src=
"cr_input.js"></script>