Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 Polymer({ | |
| 6 is: 'oobe-next-button', | |
| 7 | |
| 8 properties: { | |
| 9 disabled: { | |
| 10 type: Boolean, | |
| 11 value: false, | |
| 12 }, | |
| 13 }, | |
|
dzhioev_at_google
2016/05/25 01:01:32
nit: remove ','
Alexander Alekseev
2016/05/25 23:47:29
Done.
| |
| 14 }); | |
| 15 | |
| 16 Polymer({ | |
| 17 is: 'oobe-icon-button', | |
| 18 | |
| 19 properties: { | |
| 20 disabled: {type: Boolean, value: false, reflectToAttribute: true}, | |
| 21 | |
| 22 icon: String, | |
| 23 | |
| 24 ariaLabel: String | |
| 25 }, | |
| 26 | |
| 27 focus: function() { | |
| 28 this.$.iconButton.focus(); | |
| 29 }, | |
| 30 | |
| 31 onClick_: function(e) { | |
|
dzhioev_at_google
2016/05/25 01:01:32
You need to make the same for 'oobe-next-button'
Alexander Alekseev
2016/05/25 23:47:29
Done.
| |
| 32 if (this.disabled) | |
| 33 e.stopPropagation(); | |
| 34 } | |
| 35 }); | |
| OLD | NEW |