Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: pkg/polymer/lib/elements/polymer-ui-breadcrumbs/demo.html

Issue 175443005: [polymer] import all elements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated from bower Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 <!doctype html>
3 <!--
4 Copyright 2013 The Polymer Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style
6 license that can be found in the LICENSE file.
7 -->
8 <html>
9 <head>
10 <title>Breadcrumbs</title>
11 <script src="../platform/platform.js"></script>
12 <link rel="import" href="polymer-ui-breadcrumbs.html">
13 <link rel="import" href="../polymer-ui-toolbar/polymer-ui-toolbar.html">
14 <link rel="stylesheet" href="../polymer-ui-base/base.css">
15 <style>
16 html, body {
17 margin: 0;
18 }
19 </style>
20 </head>
21 <body class="polymer-ui-body-text" unresolved>
22 <polymer-element name="x-test">
23 <template>
24 <style>
25 polymer-ui-breadcrumbs {
26 padding-left: 20px;
27 }
28 </style>
29 <polymer-ui-toolbar>
30 <polymer-ui-breadcrumbs crumbs="{{crumbs}}" selected="{{selected}}" se lectedCrumb="{{selectedCrumb}}"></polymer-ui-breadcrumbs>
31 </polymer-ui-toolbar>
32 <br><br>
33 <div>label: {{selectedCrumb.label}}</div>
34 selected: <input value="{{selected}}">
35 </template>
36 <script>
37 Polymer('x-test', {
38 ready: function() {
39 this.crumbs = [
40 {label: 'Overview'},
41 {label: 'Subitem1'},
42 {label: 'Subitem2'},
43 {label: 'Subitem3'}
44 ];
45 }
46 });
47 </script>
48 </polymer-element>
49
50 <x-test></x-test>
51 </body>
52 </html>
OLDNEW
« no previous file with comments | « pkg/polymer/lib/elements/polymer-ui-breadcrumbs/bower.json ('k') | pkg/polymer/lib/elements/polymer-ui-breadcrumbs/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698