| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 // Copyright 2014 The Chromium Authors. All rights reserved. | 2 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 <import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement" /> | 6 <import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement" /> |
| 7 | 7 |
| 8 <sky-element | 8 <sky-element |
| 9 name="sky-button" | 9 name="sky-button" |
| 10 attributes="highlight:boolean" | 10 attributes="highlight:boolean" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 } | 40 } |
| 41 handlePointerUp() { | 41 handlePointerUp() { |
| 42 this.highlight = false; | 42 this.highlight = false; |
| 43 } | 43 } |
| 44 handlePointerCancel() { | 44 handlePointerCancel() { |
| 45 this.highlight = false; | 45 this.highlight = false; |
| 46 } | 46 } |
| 47 }.register(); | 47 }.register(); |
| 48 </script> | 48 </script> |
| 49 </sky-element> | 49 </sky-element> |
| OLD | NEW |