mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4274
This commit is contained in:
parent
24c28130c9
commit
289ee220ed
32 changed files with 189 additions and 98 deletions
6
components/lib/image/Image.d.ts
vendored
6
components/lib/image/Image.d.ts
vendored
|
@ -219,6 +219,7 @@ export interface ImageSlots {
|
|||
close(): VNode[];
|
||||
/**
|
||||
* Custom image template.
|
||||
* @param {Object} scope - image slot's params.
|
||||
*/
|
||||
image(scope: {
|
||||
/**
|
||||
|
@ -232,10 +233,11 @@ export interface ImageSlots {
|
|||
/**
|
||||
* Image error function.
|
||||
*/
|
||||
onError(): void;
|
||||
onError: () => void;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom preview template.
|
||||
* @param {Object} scope - preview slot's params.
|
||||
*/
|
||||
preview(scope: {
|
||||
/**
|
||||
|
@ -249,7 +251,7 @@ export interface ImageSlots {
|
|||
/**
|
||||
* Preview click function.
|
||||
*/
|
||||
onClick(): void;
|
||||
onClick: () => void;
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue