Skip to content

Commit 36cd794

Browse files
mathieucivelmarcosmoura
authored andcommitted
send switch state to change event vuematerial#503 (vuematerial#504)
1 parent 56aeaff commit 36cd794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/mdSwitch/mdSwitch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
},
6868
changeState(checked, $event) {
6969
if (typeof $event !== 'undefined') {
70-
this.$emit('change', $event);
70+
this.$emit('change', checked, $event);
7171
7272
if (!$event.defaultPrevented) {
7373
this.checked = checked;

0 commit comments

Comments
 (0)