mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4774 - OverlayPanel: wrongly typed slot prop
This commit is contained in:
parent
1914bc501a
commit
b543a35a2e
1 changed files with 14 additions and 14 deletions
28
components/lib/overlaypanel/OverlayPanel.d.ts
vendored
28
components/lib/overlaypanel/OverlayPanel.d.ts
vendored
|
@ -182,20 +182,6 @@ export interface OverlayPanelSlots {
|
|||
* Custom close icon template.
|
||||
*/
|
||||
closeicon(): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid emits in OverlayPanel component.
|
||||
*/
|
||||
export interface OverlayPanelEmits {
|
||||
/**
|
||||
* Callback to invoke when the overlay is shown.
|
||||
*/
|
||||
show(): void;
|
||||
/**
|
||||
* Callback to invoke when the overlay is hidden.
|
||||
*/
|
||||
hide(): void;
|
||||
/**
|
||||
* Custom container slot.
|
||||
* @param {Object} scope - container slot's params.
|
||||
|
@ -224,6 +210,20 @@ export interface OverlayPanelEmits {
|
|||
}): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid emits in OverlayPanel component.
|
||||
*/
|
||||
export interface OverlayPanelEmits {
|
||||
/**
|
||||
* Callback to invoke when the overlay is shown.
|
||||
*/
|
||||
show(): void;
|
||||
/**
|
||||
* Callback to invoke when the overlay is hidden.
|
||||
*/
|
||||
hide(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - OverlayPanel**
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue