~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/paper-slider/README.md

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
<!---
 
3
 
 
4
This README is automatically generated from the comments in these files:
 
5
paper-slider.html
 
6
 
 
7
Edit those files, and our readme bot will duplicate them over here!
 
8
Edit this file, and the bot will squash your changes :)
 
9
 
 
10
The bot does some handling of markdown. Please file a bug if it does the wrong
 
11
thing! https://github.com/PolymerLabs/tedium/issues
 
12
 
 
13
-->
 
14
 
 
15
[![Build status](https://travis-ci.org/PolymerElements/paper-slider.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-slider)
 
16
 
 
17
_[Demo and API docs](https://elements.polymer-project.org/elements/paper-slider)_
 
18
 
 
19
 
 
20
##&lt;paper-slider&gt;
 
21
 
 
22
Material design: [Sliders](https://www.google.com/design/spec/components/sliders.html)
 
23
 
 
24
`paper-slider` allows user to select a value from a range of values by
 
25
moving the slider thumb.  The interactive nature of the slider makes it a
 
26
great choice for settings that reflect intensity levels, such as volume,
 
27
brightness, or color saturation.
 
28
 
 
29
Example:
 
30
 
 
31
```html
 
32
<paper-slider></paper-slider>
 
33
```
 
34
 
 
35
Use `min` and `max` to specify the slider range.  Default is 0 to 100.
 
36
 
 
37
Example:
 
38
 
 
39
```html
 
40
<paper-slider min="10" max="200" value="110"></paper-slider>
 
41
```
 
42
 
 
43
### Styling
 
44
 
 
45
The following custom properties and mixins are available for styling:
 
46
 
 
47
| Custom property | Description | Default |
 
48
| --- | --- | --- |
 
49
| `--paper-slider-bar-color` | The background color of the slider | `transparent` |
 
50
| `--paper-slider-active-color` | The progress bar color | `--google-blue-700` |
 
51
| `--paper-slider-secondary-color` | The secondary progress bar color | `--google-blue-300` |
 
52
| `--paper-slider-knob-color` | The knob color | `--google-blue-700` |
 
53
| `--paper-slider-disabled-knob-color` | The disabled knob color | `--paper-grey-400` |
 
54
| `--paper-slider-pin-color` | The pin color | `--google-blue-700` |
 
55
| `--paper-slider-font-color` | The pin's text color | `#fff` |
 
56
| `--paper-slider-disabled-active-color` | The disabled progress bar color | `--paper-grey-400` |
 
57
| `--paper-slider-disabled-secondary-color` | The disabled secondary progress bar color | `--paper-grey-400` |
 
58
| `--paper-slider-knob-start-color` | The fill color of the knob at the far left | `transparent` |
 
59
| `--paper-slider-knob-start-border-color` | The border color of the knob at the far left | `--paper-grey-400` |
 
60
| `--paper-slider-pin-start-color` | The color of the pin at the far left | `--paper-grey-400` |
 
61
| `--paper-slider-height` | Height of the progress bar | `2px` |
 
62
| `--paper-slider-input` | Mixin applied to the input in editable mode | `{}` |
 
63
 
 
64