mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-20 13:01:52 +00:00
rename sidenav show method to open #238
This commit is contained in:
parent
17d0561121
commit
049416457d
1 changed files with 4 additions and 1 deletions
|
|
@ -27,6 +27,9 @@
|
|||
},
|
||||
methods: {
|
||||
show() {
|
||||
this.open();
|
||||
},
|
||||
open() {
|
||||
this.mdVisible = true;
|
||||
this.$el.focus();
|
||||
this.$emit('open');
|
||||
|
|
@ -40,7 +43,7 @@
|
|||
if (this.mdVisible) {
|
||||
this.close();
|
||||
} else {
|
||||
this.show();
|
||||
this.open();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue