OLD | NEW |
(Empty) | |
| 1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/paper-input/paper-input-deco
rator.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
"> |
| 5 |
| 6 <polymer-element name="cr-input"> |
| 7 <template> |
| 8 <link rel="stylesheet" href="cr_input.css"> |
| 9 <cr-events id="events"></cr-events> |
| 10 |
| 11 <paper-input-decorator id="decorator" label="{{label}}" floatingLabel="{{flo
atingLabel}}" |
| 12 value="{{value}}" disabled?="{{disabled}}" error="{{error}}"> |
| 13 <input is="core-input" id="input" value="{{value}}" committedValue="{{comm
ittedValue}}" |
| 14 disabled?="{{disabled}}" required="{{required}}" pattern="{{pattern}}"
type="{{type}}"> |
| 15 </paper-input-decorator> |
| 16 </template> |
| 17 <script src="cr_input.js"></script> |
| 18 </polymer-element> |
OLD | NEW |