OLD | NEW |
1 <!-- | 1 <!-- |
2 // Copyright 2015 The Chromium Authors. All rights reserved. | 2 // Copyright 2015 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-element.sky" /> | 6 <import src="sky-element.sky" /> |
7 | 7 |
8 <sky-element> | 8 <sky-element> |
9 <template> | 9 <template> |
10 <style> | 10 <style> |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 } | 153 } |
154 | 154 |
155 void _handleWheel(WheelEvent event) { | 155 void _handleWheel(WheelEvent event) { |
156 scrollBy(-event.offsetY); | 156 scrollBy(-event.offsetY); |
157 } | 157 } |
158 } | 158 } |
159 | 159 |
160 _init(script) => register(script, SkyScrollable); | 160 _init(script) => register(script, SkyScrollable); |
161 </script> | 161 </script> |
162 </sky-element> | 162 </sky-element> |
OLD | NEW |