| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @fileoverview | 6 * @fileoverview |
| 7 * `cr-input` is a single-line text field for user input. It is a convenience | 7 * `cr-input` is a single-line text field for user input. It is a convenience |
| 8 * element wrapping `paper-input`. | 8 * element wrapping `paper-input`. |
| 9 * | 9 * |
| 10 * Example: | 10 * Example: |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 */ | 79 */ |
| 80 focus: function() { | 80 focus: function() { |
| 81 this.$.input.focus(); | 81 this.$.input.focus(); |
| 82 }, | 82 }, |
| 83 | 83 |
| 84 /** @override */ | 84 /** @override */ |
| 85 ready: function() { | 85 ready: function() { |
| 86 this.$.events.forward(this.$.input, ['change']); | 86 this.$.events.forward(this.$.input, ['change']); |
| 87 }, | 87 }, |
| 88 }); | 88 }); |
| OLD | NEW |