Fixed #4774 - OverlayPanel: wrongly typed slot prop
parent
1914bc501a
commit
b543a35a2e
|
@ -182,20 +182,6 @@ export interface OverlayPanelSlots {
|
||||||
* Custom close icon template.
|
* Custom close icon template.
|
||||||
*/
|
*/
|
||||||
closeicon(): VNode[];
|
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.
|
* Custom container slot.
|
||||||
* @param {Object} scope - container slot's params.
|
* @param {Object} scope - container slot's params.
|
||||||
|
@ -224,6 +210,20 @@ export interface OverlayPanelEmits {
|
||||||
}): VNode[];
|
}): 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**
|
* **PrimeVue - OverlayPanel**
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue