You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
A simple, lightweight on/off toggle component made with Vue.js. Provides multiple themes with default configurations. You can also customize size, color and borders.
4
4
5
5
<palign="center">
6
-
<imgsrc="https://i.imgur.com/Iram1NB.png">
6
+
<imgsrc="https://i.imgur.com/pVI4GIB.png">
7
7
</p>
8
8
9
9
## Installation
@@ -42,6 +42,7 @@ new Vue({
42
42
<onoff-toggle
43
43
v-model="checked"
44
44
onColor="#008F13"
45
+
:shadow="false"
45
46
/>
46
47
47
48
<onoff-toggle
@@ -107,6 +108,10 @@ new Vue({
107
108
<td>margin</td>
108
109
<td>Space around the thumb</td>
109
110
</tr>
111
+
<tr>
112
+
<td>shadow</td>
113
+
<td>Only works on default theme. When set to true, a glow effect will be added around the toggle.</td>
0 commit comments