OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 Polymer({ | 5 Polymer({ |
6 is: 'oobe-text-button', | 6 is: 'oobe-text-button', |
7 | 7 |
8 properties: { | 8 properties: { |
9 disabled: {type: Boolean, value: false, reflectToAttribute: true}, | 9 disabled: {type: Boolean, value: false, reflectToAttribute: true}, |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 }); | 60 }); |
61 | 61 |
62 Polymer({ | 62 Polymer({ |
63 is: 'oobe-welcome-secondary-button', | 63 is: 'oobe-welcome-secondary-button', |
64 | 64 |
65 properties: { | 65 properties: { |
66 icon: String, | 66 icon: String, |
67 | 67 |
68 ariaLabel: String | 68 ariaLabel: String |
69 }, | 69 }, |
| 70 |
| 71 focus: function() { |
| 72 this.$.button.focus(); |
| 73 }, |
70 }); | 74 }); |
OLD | NEW |