feat(menu): add hide/show events to docs
parent
a989dbcb60
commit
83545ed520
|
@ -394,6 +394,13 @@
|
|||
"type": "Function",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "getFieldState",
|
||||
"optional": false,
|
||||
"readonly": false,
|
||||
"type": "Function",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "validate",
|
||||
"optional": false,
|
||||
|
@ -1030,6 +1037,13 @@
|
|||
"type": "Function",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "getFieldState",
|
||||
"optional": false,
|
||||
"readonly": false,
|
||||
"type": "Function",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "handleSubmit",
|
||||
"optional": false,
|
||||
|
@ -40597,6 +40611,18 @@
|
|||
],
|
||||
"returnType": "void",
|
||||
"description": "Callback to invoke when the component loses focus."
|
||||
},
|
||||
{
|
||||
"name": "show",
|
||||
"parameters": [],
|
||||
"returnType": "void",
|
||||
"description": "Callback to invoke when the menu popup is shown."
|
||||
},
|
||||
{
|
||||
"name": "hide",
|
||||
"parameters": [],
|
||||
"returnType": "void",
|
||||
"description": "Callback to invoke when the menu popup is hidden."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -331,13 +331,13 @@ export interface MenuEmitsOptions {
|
|||
*/
|
||||
blur(event: Event): void;
|
||||
/**
|
||||
* Callback to invoke when the overlay is shown.
|
||||
* @remarks Emitted when {@link MenuProps.popup} is true
|
||||
* Callback to invoke when the menu popup is shown.
|
||||
* @remarks Emitted when {@link MenuProps.popup} is true.
|
||||
*/
|
||||
show(): void;
|
||||
/**
|
||||
* Callback to invoke when the overlay is hidden.
|
||||
* @remarks Emitted when {@link MenuProps.popup} is true
|
||||
* Callback to invoke when the menu popup is hidden.
|
||||
* @remarks Emitted when {@link MenuProps.popup} is true.
|
||||
*/
|
||||
hide(): void;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue