编辑 | blame | 历史 | 原始文档

:: BASE_DOC ::

API

Avatar Props

name type default description required

alt | String | - | show it when url is not valid | N
badge-props | Object | - | Typescript:BadgePropsBadge API Documentssee 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