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 <import src="shadow.sky" as="shadow" /> | 7 <import src="shadow.sky" as="shadow" /> |
8 | 8 |
9 <sky-element attributes="primary:boolean, level:number"> | 9 <sky-element attributes="primary:boolean, level:number"> |
10 <template> | 10 <template> |
(...skipping 26 matching lines...) Expand all Loading... |
37 } | 37 } |
38 | 38 |
39 void shadowRootReady() { | 39 void shadowRootReady() { |
40 shadow.applyTo(shadowRoot); | 40 shadow.applyTo(shadowRoot); |
41 } | 41 } |
42 } | 42 } |
43 | 43 |
44 _init(script) => register(script, SkyButton); | 44 _init(script) => register(script, SkyButton); |
45 </script> | 45 </script> |
46 </sky-element> | 46 </sky-element> |
OLD | NEW |