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

Side by Side Diff: polymer_1.0.4/bower_components/gold-phone-input/demo/index.html

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 5 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>gold-phone-input demo</title>
19
20 <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
21 <link rel="import" href="../gold-phone-input.html">
22
23 <link rel="stylesheet" href="../../paper-styles/paper-styles.html">
24 <link rel="import" href="../../paper-styles/demo-pages.html">
25 </head>
26 <body>
27 <div class="vertical-section-container centered">
28 <h4>Standard</h4>
29 <div class="vertical-section">
30 <gold-phone-input></gold-phone-input>
31 <gold-phone-input auto-validate label="Auto-validating"></gold-phone-input >
32 <gold-phone-input
33 label="France phone number"
34 country-code="33"
35 phone-number-pattern="X-XX-XX-XX-XX"
36 auto-validate
37 required>
38 </gold-phone-input>
39 </div>
40
41 <h4>Pre-validated</h4>
42 <div class="vertical-section">
43 <gold-phone-input country-code="44" auto-validate required></gold-phone-in put>
44 <gold-phone-input label="Valid US number" value="415-111-1111" auto-valida te></gold-phone-input>
45 <gold-phone-input label="Invalid US number" value="415-111-111" auto-valid ate></gold-phone-input>
46 </div>
47
48 <h4>Custom error message</h4>
49 <div class="vertical-section">
50 <gold-phone-input auto-validate label="Cats only" error-message="needs mor e cats" required></gold-phone-input>
51 </div>
52 </div>
53 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698