mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Fixed #2670 - Avatar | New error event
This commit is contained in:
parent
bd8af92a12
commit
6386ffa015
4 changed files with 52 additions and 14 deletions
|
@ -31,10 +31,18 @@ const AvatarProps = [
|
|||
}
|
||||
];
|
||||
|
||||
const AvatarEvents = [
|
||||
{
|
||||
name: "error",
|
||||
description: "Triggered when an error occurs while loading an image file."
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
avatar: {
|
||||
name: "Avatar",
|
||||
description: "Avatar represents people using icons, labels and images.",
|
||||
props: AvatarProps
|
||||
props: AvatarProps,
|
||||
events: AvatarEvents
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue