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-button-next', | |
| 7 | |
| 8 properties: { | |
| 9 disabled: { | |
| 10 type: Boolean, | |
| 11 value: false, | |
| 12 }, | |
| 13 }, | |
| 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() { this.$.iconButton.focus(); }, | |
|
jdufault
2016/05/11 22:07:43
Add newlines?
Alexander Alekseev
2016/05/13 20:52:34
Done.
| |
| 28 | |
| 29 onClick_: function(e) { | |
| 30 if (this.disabled) | |
| 31 e.stopPropagation(); | |
| 32 } | |
| 33 }); | |
| OLD | NEW |