OLD | NEW |
| 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
| 2 |
1 <polymer-element name="sliding-checkbox"> | 3 <polymer-element name="sliding-checkbox"> |
2 <template> | 4 <template> |
3 <style> | 5 <style> |
4 .switch { | 6 .switch { |
5 position: relative; | 7 position: relative; |
6 width: 121px; | 8 width: 121px; |
7 -webkit-user-select: none; | 9 -webkit-user-select: none; |
8 -moz-user-select: none; | 10 -moz-user-select: none; |
9 -ms-user-select: none; | 11 -ms-user-select: none; |
10 } | 12 } |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 <input type="checkbox" | 78 <input type="checkbox" |
77 class="hide" | 79 class="hide" |
78 id="slide-switch" | 80 id="slide-switch" |
79 on-change="{{ change }}"> | 81 on-change="{{ change }}"> |
80 <label class="label" for="slide-switch"> | 82 <label class="label" for="slide-switch"> |
81 <div class="content"></div> | 83 <div class="content"></div> |
82 <div class="dot"></div> | 84 <div class="dot"></div> |
83 </label> | 85 </label> |
84 </div> | 86 </div> |
85 </template> | 87 </template> |
86 <script type="application/dart" src="sliding_checkbox.dart"></script> | |
87 </polymer-element> | 88 </polymer-element> |
| 89 |
| 90 <script type="application/dart" src="sliding_checkbox.dart"></script> |
OLD | NEW |