Fixed #4774 - OverlayPanel: wrongly typed slot prop
parent
1914bc501a
commit
b543a35a2e
|
@ -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…
Reference in New Issue