You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| icon |set representation type to Icon, more info on Icon Component| string |||
129
-
| size |set avatar size| number/string | number / large / medium / small | large |
130
-
| shape |set avatar shape| string | circle / square | circle |
131
-
| src |the address of the image for an image avatar | string |||
132
-
| srcSet |A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use| string |||
133
-
| alt |This attribute defines an alternative text description of the image | string |||
134
-
| fit |set how the image fit its container for an image avatar| string | fill / contain / cover / none / scale-down | cover |
129
+
| icon |Défini le type de représentation sur Icon, plus d’informations sur le composant Icon| string |||
130
+
| size |Défini la taille de l'avatar| number/string | number / large / medium / small | large |
131
+
| shape |Défini la forme de l'avatar| string | circle / square | circle |
132
+
| src |L'adresse de l'image pour un avatar image| string |||
133
+
| srcSet |Une liste d'un ou plusieurs string séparés par des virgules indiquant un ensemble de sources d'images possibles que le user agent peut utiliser| string |||
134
+
| alt |Cet attribut définit une description textuelle alternative de l'image | string |||
135
+
| fit |Défini comment l'image s'adapte à son conteneur| string | fill / contain / cover / none / scale-down | cover |
135
136
136
-
### Events
137
+
### Évènements
137
138
138
-
| Event Name | Description |Parameters|
139
+
| Event Name | Description |Paramètres|
139
140
| ------ | ------------------ | -------- |
140
-
| error | handler when img load error, return false to prevent default fallback behavior|(e: Event) |
141
+
| error | handler en cas d'erreur de chargement de l'image, renvoie false pour éviter le fallback par défaut|(e: Event) |
0 commit comments