packages/eui/packages/components/eui-user-profile/user-profile-card/user-profile-card.component.ts
OnInit
changeDetection | ChangeDetectionStrategy.Default |
encapsulation | ViewEncapsulation.None |
selector | eui-user-profile-card |
imports |
EUI_BUTTON
EUI_ICON_BUTTON
EUI_ICON
EUI_AVATAR
|
templateUrl | ./user-profile-card.component.html |
Properties |
Methods |
Inputs |
Outputs |
HostBindings |
Accessors |
avatarUrl |
Type : string
|
impersonateLabel |
Type : string
|
Default value : 'impersonating'
|
isShowAvatarInitials |
Type : boolean
|
Default value : false
|
reverseNameOrder |
Type : boolean
|
Default value : false
|
If true, the name will be displayed in reverse order (first name, first) |
showDetailsLabel |
Type : string
|
Default value : 'Show profile details'
|
closeProfileMenu |
Type : EventEmitter<void>
|
showProfileInfo |
Type : EventEmitter<void>
|
class |
Type : string
|
onClose |
onClose()
|
Returns :
void
|
onShowInfoClick |
onShowInfoClick()
|
Returns :
void
|
avatarInitials |
Type : Signal<string>
|
fullName |
Type : Signal<literal type>
|
Holds the full name of the user and the impersonated user |
isOnline |
This property is not used anymore |
Default value : true
|
If true, the user is online |
userState |
Type : Signal<UserProfile>
|
Default value : inject(UserService).getSignal()
|
cssClasses |
getcssClasses()
|