tree: 1f453319fca96f2e9de99bec5c3ca67f28818d31 [path history] [tgz]
  1. .bower.json
  2. .gitignore
  3. bower.json
  4. compiled_resources2.gyp
  5. CONTRIBUTING.md
  6. hero.svg
  7. index.html
  8. paper-slider-extracted.js
  9. paper-slider.html
  10. README.md
third_party/polymer/v1_0/components-chromium/paper-slider/README.md

Build Status

Demo and API Docs

##<paper-slider>

Material design: Sliders

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

The following custom properties and mixins are available for styling:

Custom propertyDescriptionDefault
--paper-slider-bar-colorThe background color of the slidertransparent
--paper-slider-active-colorThe progress bar color--google-blue-700
--paper-slider-secondary-colorThe secondary progress bar color--google-blue-300
--paper-slider-knob-colorThe knob color--google-blue-700
--paper-slider-disabled-knob-colorThe disabled knob color--paper-grey-400
--paper-slider-pin-colorThe pin color--google-blue-700
--paper-slider-font-colorThe pin's text color#fff
--paper-slider-disabled-active-colorThe disabled progress bar color--paper-grey-400
--paper-slider-disabled-secondary-colorThe disabled secondary progress bar color--paper-grey-400
--paper-slider-knob-start-colorThe fill color of the knob at the far lefttransparent
--paper-slider-knob-start-border-colorThe border color of the knob at the far left--paper-grey-400
--paper-slider-pin-start-colorThe color of the pin at the far left--paper-grey-400
--paper-slider-heightHeight of the progress bar2px
--paper-slider-inputMixin applied to the input in editable mode{}