| Index: third_party/polymer/v1_0/components-chromium/paper-slider/paper-slider.html
|
| diff --git a/third_party/polymer/v1_0/components-chromium/paper-slider/paper-slider.html b/third_party/polymer/v1_0/components-chromium/paper-slider/paper-slider.html
|
| deleted file mode 100644
|
| index d5a02f9cb6f2896f5d46bbe6d18585e1785a5e13..0000000000000000000000000000000000000000
|
| --- a/third_party/polymer/v1_0/components-chromium/paper-slider/paper-slider.html
|
| +++ /dev/null
|
| @@ -1,113 +0,0 @@
|
| -<!--
|
| -@license
|
| -Copyright (c) 2015 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
|
| -The complete set of authors may be found at http://polymer.github.io/AUTHORS
|
| -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
|
| -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
|
| ---><html><head><link rel="import" href="../paper-styles/paper-styles.html">
|
| -<link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
|
| -<link rel="import" href="../iron-behaviors/iron-control-state.html">
|
| -<link rel="import" href="../paper-progress/paper-progress.html">
|
| -<link rel="import" href="../paper-input/paper-input.html">
|
| -
|
| -<!--
|
| -`paper-slider` allows user to select a value from a range of values by
|
| -moving the slider thumb. The interactive nature of the slider makes it a
|
| -great choice for settings that reflect intensity levels, such as volume,
|
| -brightness, or color saturation.
|
| -
|
| -Example:
|
| -
|
| - <paper-slider></paper-slider>
|
| -
|
| -Use `min` and `max` to specify the slider range. Default is 0 to 100.
|
| -
|
| -Example:
|
| -
|
| - <paper-slider min="10" max="200" value="110"></paper-slider>
|
| -
|
| -Styling slider:
|
| -
|
| -To change the slider progress bar color:
|
| -
|
| - paper-slider {
|
| - --paper-slider-active-color: #0f9d58;
|
| - }
|
| -
|
| -To change the slider knob color:
|
| -
|
| - paper-slider {
|
| - --paper-slider-knob-color: #0f9d58;
|
| - }
|
| -
|
| -To change the slider pin color:
|
| -
|
| - paper-slider {
|
| - --paper-slider-pin-color: #0f9d58;
|
| - }
|
| -
|
| -To change the slider pin's font color:
|
| -
|
| - paper-slider {
|
| - --paper-slider-pin-font-color: #0f9d58;
|
| - }
|
| -
|
| -To change the slider secondary progress bar color:
|
| -
|
| - paper-slider {
|
| - --paper-slider-secondary-color: #0f9d58;
|
| - }
|
| -
|
| -To change the slider disabled active color:
|
| -
|
| - paper-slider {
|
| - --paper-slider-disabled-active-color: #ccc;
|
| - }
|
| -
|
| -To change the slider disabled secondary progress bar color:
|
| -
|
| - paper-slider {
|
| - --paper-slider-disabled-secondary-color: #ccc;
|
| - }
|
| -
|
| -@group Paper Elements
|
| -@element paper-slider
|
| -@demo demo/index.html
|
| -@hero hero.svg
|
| --->
|
| -
|
| -</head><body><dom-module id="paper-slider">
|
| - <link rel="import" type="css" href="paper-slider.css">
|
| - <template>
|
| - <template is="dom-if" if="{{!disabled}}">
|
| - </template>
|
| -
|
| - <div id="sliderContainer" class$="[[_getClassNames(disabled, pin, snaps, immediateValue, min, expand, dragging, transiting, editable)]]">
|
| - <div class="bar-container">
|
| - <paper-progress id="sliderBar" aria-hidden="true" min="[[min]]" max="[[max]]" value="[[immediateValue]]" secondary-progress="[[secondaryProgress]]" on-down="_bardown" on-up="_resetKnob" on-track="_onTrack"></paper-progress>
|
| - </div>
|
| -
|
| - <template is="dom-if" if="[[snaps]]">
|
| - <div class="slider-markers horizontal layout">
|
| - <template is="dom-repeat" items="[[markers]]">
|
| - <div class="slider-marker flex"></div>
|
| - </template>
|
| - </div>
|
| - </template>
|
| -
|
| - <div id="sliderKnob" on-down="_knobdown" on-up="_resetKnob" on-track="_onTrack" on-transitionend="_knobTransitionEnd" center-justified="" center="" horizontal="" layout="">
|
| -
|
| - <div id="sliderKnobInner" value$="[[immediateValue]]"></div>
|
| - </div>
|
| - </div>
|
| -
|
| - <template is="dom-if" if="[[editable]]">
|
| - <paper-input id="input" class="slider-input" disabled$="[[disabled]]" on-change="_inputChange"></paper-input>
|
| - </template>
|
| -
|
| - </template>
|
| -</dom-module>
|
| -
|
| -<script src="paper-slider-extracted.js"></script></body></html>
|
|
|