types(DropdownItem): add toggle method type
This commit is contained in:
@@ -56,6 +56,7 @@ export default createComponent({
|
||||
},
|
||||
|
||||
methods: {
|
||||
// @exposed-api
|
||||
toggle(show = !this.showPopup, options = {}) {
|
||||
if (show === this.showPopup) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user