mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Refactor #4728
This commit is contained in:
parent
e8ebb9bf3f
commit
b957ea422d
16 changed files with 74 additions and 13 deletions
10
components/lib/image/Image.d.ts
vendored
10
components/lib/image/Image.d.ts
vendored
|
@ -251,8 +251,13 @@ export interface ImageSlots {
|
|||
style: any;
|
||||
/**
|
||||
* Image error function.
|
||||
* @deprecated since v3.39.0. Use 'errorCallback' property instead.
|
||||
*/
|
||||
onError: () => void;
|
||||
/**
|
||||
* Preview click function.
|
||||
*/
|
||||
errorCallback: () => void;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom preview template.
|
||||
|
@ -269,8 +274,13 @@ export interface ImageSlots {
|
|||
style: any;
|
||||
/**
|
||||
* Preview click function.
|
||||
* @deprecated since v3.39.0. Use 'previewCallback' property instead.
|
||||
*/
|
||||
onClick: () => void;
|
||||
/**
|
||||
* Preview click function.
|
||||
*/
|
||||
previewCallback: () => void;
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue