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="shadow.sky" as="shadow" /> | 6 <import src="shadow.sky" as="shadow" /> |
7 <import src="sky-element.sky" /> | 7 <import src="sky-element.sky" /> |
8 | 8 |
9 <sky-element attributes="level:number"> | 9 <sky-element attributes="level:number"> |
10 <template> | 10 <template> |
(...skipping 12 matching lines...) Expand all Loading... |
23 @Tagname('sky-toolbar') | 23 @Tagname('sky-toolbar') |
24 class SkyToolbar extends SkyElement { | 24 class SkyToolbar extends SkyElement { |
25 void shadowRootReady() { | 25 void shadowRootReady() { |
26 shadow.applyTo(shadowRoot); | 26 shadow.applyTo(shadowRoot); |
27 } | 27 } |
28 } | 28 } |
29 | 29 |
30 _init(script) => register(script, SkyToolbar); | 30 _init(script) => register(script, SkyToolbar); |
31 </script> | 31 </script> |
32 </sky-element> | 32 </sky-element> |
OLD | NEW |