OLD | NEW |
(Empty) | |
| 1 <!-- |
| 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
| 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 6 Code distributed by Google as part of the polymer project is also |
| 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 8 --> |
| 9 |
| 10 <!-- |
| 11 The `core-range` element is used for managing a numeric value within a given |
| 12 range. It has no visual appearance and is typically used in conjunction with |
| 13 another element. |
| 14 |
| 15 One can build a progress bar using `core-range` like this: |
| 16 |
| 17 <core-range min="0" max="200" value="100" ratio="{{ratio}}"></core-range> |
| 18 <div class="progress-bar" style="width: {{ratio}}%;"></div> |
| 19 |
| 20 @group Polymer Core Elements |
| 21 @element core-range |
| 22 @homepage github.io |
| 23 |
| 24 --> |
| 25 |
| 26 <link rel="import" href="../polymer/polymer.html"> |
| 27 |
| 28 <polymer-element name="core-range" attributes="value min max step ratio" assetpa
th=""> |
| 29 |
| 30 </polymer-element> |
| 31 <script src="core-range-extracted.js"></script> |
OLD | NEW |