Blame view

bower_components/paper-toggle-button/README.md 642 Bytes
c5169e0e   Renato De Donato   a new hope
1
2
  paper-toggle-button
  ===================
73bcce88   luigser   COMPONENTS
3
4
  
  `paper-toggle-button` provides a ON/OFF switch that user can toggle the state
c5169e0e   Renato De Donato   a new hope
5
  by tapping or by dragging the swtich.
73bcce88   luigser   COMPONENTS
6
7
8
  
  Example:
  
c5169e0e   Renato De Donato   a new hope
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  ```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>
  ```