fix(select): add exposed methods to types
parent
10694a2902
commit
f385d72262
|
@ -55721,23 +55721,35 @@
|
|||
},
|
||||
"SelectMethods": {
|
||||
"relatedProp": "",
|
||||
"props": [
|
||||
"props": [],
|
||||
"methods": [
|
||||
{
|
||||
"name": "show",
|
||||
"optional": false,
|
||||
"readonly": false,
|
||||
"type": "Function",
|
||||
"default": ""
|
||||
"parameters": [
|
||||
{
|
||||
"name": "isFocus",
|
||||
"optional": true,
|
||||
"type": "boolean",
|
||||
"description": "Decides whether to focus on the component. Default value is false."
|
||||
}
|
||||
],
|
||||
"returnType": "void",
|
||||
"description": "Shows the overlay."
|
||||
},
|
||||
{
|
||||
"name": "hide",
|
||||
"optional": false,
|
||||
"readonly": false,
|
||||
"type": "Function",
|
||||
"default": ""
|
||||
"parameters": [
|
||||
{
|
||||
"name": "isFocus",
|
||||
"optional": true,
|
||||
"type": "boolean",
|
||||
"description": "Decides whether to focus on the component. Default value is false."
|
||||
}
|
||||
],
|
||||
"returnType": "void",
|
||||
"description": "Hides the overlay."
|
||||
}
|
||||
],
|
||||
"methods": []
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -100709,4 +100721,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -818,11 +818,11 @@ export interface SelectMethods {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare const Select: DefineComponent<SelectProps, SelectSlots, SelectEmits>;
|
||||
declare const Select: DefineComponent<SelectProps, SelectSlots, SelectEmits, SelectMethods>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Select: DefineComponent<SelectProps, SelectSlots, SelectEmits>;
|
||||
Select: DefineComponent<SelectProps, SelectSlots, SelectEmits, SelectMethods>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue