Blame view

bower_components/paper-slider/README.md 2.28 KB
a1a3bc73   Luigi Serra   graphs updates
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  
  <!---
  
  This README is automatically generated from the comments in these files:
  paper-slider.html
  
  Edit those files, and our readme bot will duplicate them over here!
  Edit this file, and the bot will squash your changes :)
  
  -->
  
  [![Build Status](https://travis-ci.org/PolymerElements/paper-slider.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-slider)
  
  _[Demo and API Docs](https://elements.polymer-project.org/elements/paper-slider)_
  
  
  ##&lt;paper-slider&gt;
  
  
  Material design: [Sliders](https://www.google.com/design/spec/components/sliders.html)
73bcce88   luigser   COMPONENTS
21
22
23
24
25
26
27
28
  
  `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:
  
a1a3bc73   Luigi Serra   graphs updates
29
      <paper-slider></paper-slider>
73bcce88   luigser   COMPONENTS
30
  
a1a3bc73   Luigi Serra   graphs updates
31
  Use `min` and `max` to specify the slider range.  Default is 0 to 100.
73bcce88   luigser   COMPONENTS
32
  
a1a3bc73   Luigi Serra   graphs updates
33
34
35
36
37
  Example:
  
      <paper-slider min="10" max="200" value="110"></paper-slider>
  
  ### Styling
73bcce88   luigser   COMPONENTS
38
39
40
41
42
43
44
45
46
  
  The following custom properties and mixins are available for styling:
  
  Custom property | Description | Default
  ----------------|-------------|----------
  `--paper-slider-bar-color` | The background color of the slider | `transparent`
  `--paper-slider-active-color` | The progress bar color | `--google-blue-700`
  `--paper-slider-secondary-color` | The secondary progress bar color | `--google-blue-300`
  `--paper-slider-knob-color` | The knob color | `--google-blue-700`
a1a3bc73   Luigi Serra   graphs updates
47
  `--paper-slider-disabled-knob-color` | The disabled knob color | `--paper-grey-400`
73bcce88   luigser   COMPONENTS
48
49
  `--paper-slider-pin-color` | The pin color | `--google-blue-700`
  `--paper-slider-font-color` | The pin's text color | `#fff`
a1a3bc73   Luigi Serra   graphs updates
50
51
52
53
54
  `--paper-slider-disabled-active-color` | The disabled progress bar color | `--paper-grey-400`
  `--paper-slider-disabled-secondary-color` | The disabled secondary progress bar color | `--paper-grey-400`
  `--paper-slider-knob-start-color` | The fill color of the knob at the far left | `transparent`
  `--paper-slider-knob-start-border-color` | The border color of the knob at the far left | `--paper-grey-400`
  `--paper-slider-pin-start-color` | The color of the pin at the far left | `--paper-grey-400`
73bcce88   luigser   COMPONENTS
55
  `--paper-slider-height` | Height of the progress bar | `2px`
a1a3bc73   Luigi Serra   graphs updates
56
  `--paper-slider-input` | Mixin applied to the input in editable mode | `{}`
73bcce88   luigser   COMPONENTS

73bcce88   luigser   COMPONENTS