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

Unified Diff: bower_components/paper-input/demo.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 12 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
« no previous file with comments | « bower_components/paper-input/bower.json ('k') | bower_components/paper-input/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bower_components/paper-input/demo.html
diff --git a/bower_components/paper-input/demo.html b/bower_components/paper-input/demo.html
deleted file mode 100644
index 3db38f0f15d202f410b17077192c025c46d55c75..0000000000000000000000000000000000000000
--- a/bower_components/paper-input/demo.html
+++ /dev/null
@@ -1,124 +0,0 @@
-<!--
- @license
- Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
- Code distributed by Google as part of the polymer project is also
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
--->
-<!doctype html>
-<html>
-<head>
-
- <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
-
- <title>paper-input</title>
-
- <script src="../platform/platform.js"></script>
-
- <link href="../font-roboto/roboto.html" rel="import">
- <link href="paper-input.html" rel="import">
-
- <style shim-shadowdom>
-
- body {
- font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
- margin: 0;
- padding: 24px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- -webkit-tap-highlight-color: rgba(0,0,0,0);
- -webkit-touch-callout: none;
- }
-
- paper-input.narrow {
- width: 150px;
- }
-
- </style>
-
-</head>
-<body unresolved>
- <section>
-
- <paper-input label="Type something"></paper-input>
-
- <br>
-
- <paper-input label="Type something" value="Prefilled value"></paper-input>
-
- <br>
-
- <paper-input class="narrow" label="Long labels get truncated"></paper-input>
-
- <br>
-
- <paper-input label="Type only numbers" type="number" error="Input is not a number!"></paper-input>
-
- <br>
-
- <paper-input label="Type something" required error="This input requires a value!"></paper-input>
-
- <br>
-
- <paper-input disabled label="I'm disabled"></paper-input>
-
- <br>
-
- <paper-input floatingLabel label="Floating label"></paper-input>
-
- <br>
-
- <paper-input floatingLabel label="Type an email here (floating label)" type="email" error="Input is not an email!"></paper-input>
-
- <br>
-
- <paper-input multiline label="Type multiple lines here"></paper-input>
-
- <br>
-
- <paper-input floatingLabel multiline label="Type multiple lines here" value="Prefilled multiline input value"></paper-input>
-
- <br>
-
- <paper-input multiline rows="3" label="This input is 3 rows high"></paper-input>
-
- <br>
-
- <paper-input multiline maxRows="3" label="This input is at most 3 rows high"></paper-input>
-
- <br>
-
- <paper-input multiline label="Sized with CSS, height: 150px;" style="height: 150px;"></paper-input>
-
- <br>
-
- <paper-input multiline floatingLabel label="Multiple lines and a floating label"></paper-input>
-
- <br>
-
- <paper-input label="Becomes visible after polymer-ready" hidden></paper-input>
-
- <paper-input multiline floatingLabel rows="2" label="Becomes visible after polymer-ready, min 2 rows" value="Some prefilled value" hidden></paper-input>
-
- <br>
-
- </section>
-
- <script>
-
- document.addEventListener('polymer-ready', function() {
-
- setTimeout(function() {
- Array.prototype.forEach.call(document.querySelectorAll('paper-input[hidden]'), function(node) {
- node.removeAttribute('hidden');
- });
- }, 500);
-
- });
-
- </script>
-</body>
« no previous file with comments | « bower_components/paper-input/bower.json ('k') | bower_components/paper-input/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698