Skip to content

Commit 0494164

Browse files
committed
rename sidenav show method to open #238
1 parent 17d0561 commit 0494164

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/mdSidenav/mdSidenav.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
},
2828
methods: {
2929
show() {
30+
this.open();
31+
},
32+
open() {
3033
this.mdVisible = true;
3134
this.$el.focus();
3235
this.$emit('open');
@@ -40,7 +43,7 @@
4043
if (this.mdVisible) {
4144
this.close();
4245
} else {
43-
this.show();
46+
this.open();
4447
}
4548
}
4649
}

0 commit comments

Comments
 (0)