Skip to content

Commit 368f740

Browse files
Craig Ballingereuvl
Craig Ballinger
authored andcommitted
Set checked attribute based on value prop (#81)
1 parent fc83089 commit 368f740

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Button.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<input type="checkbox"
66
class="v-switch-input"
77
:name="name"
8+
:checked="value"
89
@change.stop="toggle">
910
<div class="v-switch-core"
1011
:style="coreStyle">

0 commit comments

Comments
 (0)