3 Copyright 2013 The Polymer Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style
5 license that can be found in the LICENSE file.
9 <title>core-style
</title>
10 <script src=
"../webcomponentsjs/webcomponents.js"></script>
12 <link rel=
"import" href=
"elements.html">
13 <link rel=
"import" href=
"my-theme.html">
16 <body unresolved fullbleed vertical layout
>
17 <core-style ref=
"main"></core-style>
19 <template is=
"auto-binding">
21 <span flex
>core-style
</span>
22 <input type=
"color" value=
"{{g.theme.colorOne}}">
23 <input type=
"color" value=
"{{g.theme.colorTwo}}">
24 <input type=
"color" value=
"{{g.theme.colorThree}}">
25 <input type=
"range" min=
"1" max=
"8" value=
"{{g.columns}}">
26 <button>A button
</button>
28 <section flex horizontal wrap layout
>
29 <template repeat=
"{{item in items}}">
30 <my-panel>{{item}}
</my-panel>
38 addEventListener('polymer-ready', function() {
40 for (var i
=0; i
< 100; i
++) {
44 CoreStyle
.g
.items
= items
;
46 addEventListener('template-bound', function(e
) {
47 e
.target
.g
= CoreStyle
.g
;
48 e
.target
.items
= items
;