AvatarGroupView.people
property · packages/mixins-ui/src/avatar.ts:216
readonly people: ReadonlyArray<AvatarPerson>Mixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/avatar.ts:215
interface AvatarGroupView<Message = never> {
readonly people: ReadonlyArray<AvatarPerson>
readonly max?: number | undefined
readonly label?: string | undefined
readonly words?: Partial<AvatarWords> | undefined
readonly rest?: ((count: number) => Html) | undefined
readonly wrap?: ((avatar: Html, person: AvatarPerson) => Html) | undefined
readonly style?: NamedStyle<typeof AvatarGroupSlots> | undefined
readonly avatarStyle?: NamedStyle<typeof AvatarSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}Avatars overlapping in a row, at most max of them and a +N for the rest.
AvatarGroupView.peopleproperty · packages/mixins-ui/src/avatar.ts:216
readonly people: ReadonlyArray<AvatarPerson>AvatarGroupView.maxproperty · packages/mixins-ui/src/avatar.ts:218
readonly max?: number | undefinedHow many to draw before the +N; every one when omitted.
AvatarGroupView.labelproperty · packages/mixins-ui/src/avatar.ts:220
readonly label?: string | undefinedThe group's accessible name, such as "Editors".
AvatarGroupView.wordsproperty · packages/mixins-ui/src/avatar.ts:222
readonly words?: Partial<AvatarWords> | undefinedThe statuses and the +N's reading (words.more), for every avatar in the group.
AvatarGroupView.restproperty · packages/mixins-ui/src/avatar.ts:224
readonly rest?: ((count: number) => Html) | undefinedWhat the +N disc holds in place of the text (an icon, say); count is how many are left out.
AvatarGroupView.wrapproperty · packages/mixins-ui/src/avatar.ts:226
readonly wrap?: ((avatar: Html, person: AvatarPerson) => Html) | undefinedDraws around each avatar, such as a Tooltip or a link; the +N is not wrapped.
AvatarGroupView.styleproperty · packages/mixins-ui/src/avatar.ts:228
readonly style?: NamedStyle<typeof AvatarGroupSlots> | undefinedA style of AvatarGroupSlots, for the overlap.
AvatarGroupView.avatarStyleproperty · packages/mixins-ui/src/avatar.ts:230
readonly avatarStyle?: NamedStyle<typeof AvatarSlots> | undefinedA style of AvatarSlots for every avatar in it, the +N included.
AvatarGroupView.mixinsproperty · packages/mixins-ui/src/avatar.ts:232
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.