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