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

Unified Diff: pkg/polymer/lib/elements/polymer-page/polymer-page.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-page/polymer-page.html
diff --git a/pkg/polymer/lib/elements/polymer-page/polymer-page.html b/pkg/polymer/lib/elements/polymer-page/polymer-page.html
new file mode 100644
index 0000000000000000000000000000000000000000..451d93ee4931f57d2bc270599dfe74565c0d3fdc
--- /dev/null
+++ b/pkg/polymer/lib/elements/polymer-page/polymer-page.html
@@ -0,0 +1,19 @@
+<!--
+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.
+-->
+<link rel="import" href="../polymer/polymer.html">
+
+<polymer-element name="polymer-page" attributes="fullbleed">
+ <script>
+ Polymer('polymer-page', {
+ fullbleed: true,
+ enteredView: function() {
+ document.head.style.cssText += 'height: 100%; overflow: hidden; margin: 0;';
+ document.body.style.cssText += 'position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; margin: 0;';
+ document.body.style.transition = 'all 0.3s';
+ }
+ });
+ </script>
+</polymer-element>
« no previous file with comments | « pkg/polymer/lib/elements/polymer-page/index.html ('k') | pkg/polymer/lib/elements/polymer-scrub/.bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698