You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joe 9b449c2688 first commit 2 years ago
..
README.en-US.md first commit 2 years ago
README.md first commit 2 years ago
avatar.d.ts first commit 2 years ago
avatar.js first commit 2 years ago
avatar.json first commit 2 years ago
avatar.wxml first commit 2 years ago
avatar.wxs first commit 2 years ago
avatar.wxss first commit 2 years ago
props.d.ts first commit 2 years ago
props.js first commit 2 years ago
type.d.ts first commit 2 years ago
type.js first commit 2 years ago

README.en-US.md

:: BASE_DOC ::

API

Avatar Props

name type default description required
alt String - show it when url is not valid N
badge-props Object - TypescriptBadgePropsBadge 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。optionscircle/round。TypescriptShapeEnum 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。optionsleft-up/right-up。TypescriptCascadingValue 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