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

Unified Diff: pkg/polymer/lib/elements/polymer-ui-pages/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, 10 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 side-by-side diff with in-line comments
Download patch
Index: pkg/polymer/lib/elements/polymer-ui-pages/demo.html
diff --git a/pkg/polymer/lib/elements/polymer-ui-pages/demo.html b/pkg/polymer/lib/elements/polymer-ui-pages/demo.html
new file mode 100644
index 0000000000000000000000000000000000000000..760ea9709df30d9e5e071953939bbb7481296c14
--- /dev/null
+++ b/pkg/polymer/lib/elements/polymer-ui-pages/demo.html
@@ -0,0 +1,34 @@
+<!doctype html>
+<!--
+Copyright 2013 The Polymer Authors. All rights reserved.
+Use of this source code is governed by a BSD-style
+license that can be found in the LICENSE file.
+-->
+<html class="polymer-ui-full-bleed">
+ <head>
+ <title>polymer-ui-pages</title>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <!-- load toolkit -->
+ <script src="../platform/platform.js"></script>
+ <!-- import elements-->
+ <link rel="import" href="polymer-ui-pages.html">
+ <!-- -->
+ <link rel="stylesheet" href="../polymer-ui-base/base.css">
+ </head>
+ <body class="polymer-ui-body-text polymer-ui-full-bleed" unresolved>
+ <polymer-ui-pages selected="0">
+ <span>One</span>
+ <span>Two</span>
+ <span>Three</span>
+ <span>Four</span>
+ <span>Five</span>
+ </polymer-ui-pages>
+ <script>
+ document.body.onclick = function(e) {
+ var p = document.querySelector('polymer-ui-pages');
+ p.selected = (p.selected + 1) % 5;
+ }
+ </script>
+ </body>
+</html>
« no previous file with comments | « pkg/polymer/lib/elements/polymer-ui-pages/bower.json ('k') | pkg/polymer/lib/elements/polymer-ui-pages/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698