Blame view

bower_components/paper-toggle-button/README.md 642 Bytes
73bcce88   luigser   COMPONENTS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  paper-toggle-button
  ===================
  
  `paper-toggle-button` provides a ON/OFF switch that user can toggle the state
  by tapping or by dragging the swtich.
  
  Example:
  
  ```html
  <paper-toggle-button></paper-toggle-button>
  ```
  
  Styling toggle-button:
  
  ```html
  <style is="custom-style">
    * {
      --paper-toggle-button-unchecked-bar-color: #FF4081;
      --paper-toggle-button-unchecked-button-color: #9c27b0;
      --paper-toggle-button-unchecked-ink-color: #009688;
      --paper-toggle-button-checked-bar-color: #5677fc;
      --paper-toggle-button-checked-button-color: #ff4081;
      --paper-toggle-button-checked-ink-color: #ff4081;
    }
  </style>
  ```