mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-02 04:24:45 +00:00
rename sidenav show method to open #238
This commit is contained in:
parent
b737bd834b
commit
436935b8d3
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