types(Checkbox): add toggle method type (#5354)
This commit is contained in:
@@ -33,6 +33,7 @@ export default createComponent({
|
||||
},
|
||||
|
||||
methods: {
|
||||
// @exposed-api
|
||||
toggle(checked = !this.checked) {
|
||||
// When toggle method is called multiple times at the same time,
|
||||
// only the last call is valid.
|
||||
|
||||
Reference in New Issue
Block a user