You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
:: BASE_DOC ::
API
Avatar Props
| name |
type |
default |
description |
required |
| alt |
String |
- |
show it when url is not valid |
N |
| badge-props |
Object |
- |
Typescript:BadgeProps,Badge API Documents。see more ts definition |
N |
| bordered |
Boolean |
false |
- |
N |
| external-classes |
Array |
- |
['t-class', 't-class-image', 't-class-icon', 't-class-alt', 't-class-content'] |
N |
| hide-on-load-failed |
Boolean |
false |
hide image when loading image failed |
N |
| icon |
String / Object |
- |
- |
N |
| image |
String |
- |
images url |
N |
| image-props |
Object |
- |
- |
N |
| shape |
String |
circle |
shape。options:circle/round。Typescript:ShapeEnum type ShapeEnum = 'circle' | 'round'。see more ts definition |
N |
| size |
String |
medium |
size |
N |
Avatar Events
| name |
params |
description |
| error |
- |
trigger on image load failed |
AvatarGroup Props
| name |
type |
default |
description |
required |
| cascading |
String |
'right-up' |
multiple images cascading。options:left-up/right-up。Typescript:CascadingValue type CascadingValue = 'left-up' | 'right-up'。see more ts definition |
N |
| collapse-avatar |
String / Slot |
- |
- |
N |
| external-classes |
Array |
- |
['t-class', 't-class-image', 't-class-content'] |
N |
| max |
Number |
- |
- |
N |
| size |
String |
medium |
size |
N |