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: bower_components/core-range/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, 11 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
« no previous file with comments | « bower_components/core-range/core-range.html ('k') | bower_components/core-range/index.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!--
2 @license
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polym er.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS .txt
6 The complete set of contributors may be found at http://polymer.github.io/CO NTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/P ATENTS.txt
9 -->
10 <!doctype html>
11 <html>
12 <head>
13 <title>core-range</title>
14
15 <script src="../platform/platform.js"></script>
16
17 <link rel="import" href="core-range.html">
18 <link rel="import" href="../core-input/core-input.html">
19
20 <style>
21
22
23 </style>
24
25 </head>
26
27 <body unresolved>
28
29 <polymer-element name="x-test" noscript attributes="value">
30
31 <template>
32
33 <style>
34
35 :host {
36 display: inline-block;
37 height: 25px;
38 width: 300px;
39 background-color: #ddd;
40 }
41
42 .progress {
43 background-color: red;
44 height: 100%;
45 padding: 5px 0;
46 box-sizing: border-box;
47 -moz-box-sizing: border-box;
48 }
49
50 core-input {
51 border: 1px solid #ccc;
52 }
53
54 </style>
55
56 <core-range min="0" max="200" step="0.5" value="{{value}}" ratio="{{rati o}}"></core-range>
57
58 <div class="progress" style="width: {{ratio}}%;">{{ratio}}%</div><br>
59
60 value (0 - 200): <core-input value="{{value}}"></core-input>
61
62 </template>
63
64 </polymer-element>
65
66 <x-test value="100"></x-test>
67
68 </body>
69 </html>
OLDNEW
« no previous file with comments | « bower_components/core-range/core-range.html ('k') | bower_components/core-range/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698