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> |
11 :host { | 11 :host { |
12 margin: 8px 0; | 12 margin: 8px 0; |
13 border-bottom: 1px solid rgba(0, 0, 0, 0.12); | 13 border-bottom: 1px solid rgba(0, 0, 0, 0.12); |
14 } | 14 } |
15 </style> | 15 </style> |
16 </template> | 16 </template> |
17 <script> | 17 <script> |
18 import "dart:sky"; | 18 import "dart:sky"; |
19 | 19 |
20 @Tagname('sky-menu-divider') | 20 @Tagname('sky-menu-divider') |
21 class SkyMenuDivider extends SkyElement { | 21 class SkyMenuDivider extends SkyElement { |
22 } | 22 } |
23 | 23 |
24 _init(script) => register(script, SkyMenuDivider); | 24 _init(script) => register(script, SkyMenuDivider); |
25 </script> | 25 </script> |
26 </sky-element> | 26 </sky-element> |
OLD | NEW |