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

Side by Side Diff: third_party/polymer/v0_8/components/paper-input/demo/index.html

Issue 1082403004: Import Polymer 0.8 and several key elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rerun reproduce.sh Created 5 years, 8 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
OLDNEW
(Empty)
1 <!doctype html>
2 <!--
3 @license
4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
5 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
8 Code distributed by Google as part of the polymer project is also
9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
10 -->
11 <html>
12 <head>
13
14 <meta charset="utf-8">
15 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
16 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial- scale=1, user-scalable=yes">
17
18 <title>paper-input demo</title>
19
20 <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
21
22 <link rel="import" href="../paper-input.html">
23 <link rel="import" href="../paper-input-container.html">
24 <link rel="import" href="../paper-input-error.html">
25 <link rel="import" href="../paper-input-char-counter.html">
26 <link rel="import" href="../../iron-input/iron-input.html">
27
28 <link rel="stylesheet" href="../../paper-styles/demo.css">
29
30 </head>
31 <body>
32
33 <section>
34
35 <paper-input label="label"></paper-input>
36
37 <paper-input label="password" type="password"></paper-input>
38
39 <paper-input no-label-float label="label (no-label-float)"></paper-input>
40
41 <paper-input-container>
42 <label>label</label>
43 <textarea></textarea>
44 </paper-input-container>
45
46 </section>
47
48 <section>
49
50 <div>Auto Validation</div>
51
52 <paper-input label="only type letters" auto-validate pattern="[a-zA-Z]*" err or-message="letters only!"></paper-input>
53
54 <paper-input label="only type numbers" auto-validate type="number" error-mes sage="numbers only!"></paper-input>
55
56 <paper-input label="required input" auto-validate required error-message="in put required!"></paper-input>
57
58 </section>
59
60 <section>
61
62 <div>Character Counter</div>
63
64 <paper-input label="label" char-counter></paper-input>
65
66 <paper-input label="at most 5 characters" char-counter maxlength="5"></paper -input>
67
68 </section>
69
70 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698