packages/eui/packages/components/eui-user-profile/user-profile.component.ts
OnInit
OnDestroy
AfterViewInit
encapsulation | ViewEncapsulation.None |
HostDirectives |
BaseStatesDirective
Inputs : euiSizeS euiSecondary euiPrimary
|
providers |
EuiDropdownService
|
selector | eui-user-profile |
imports |
NgTemplateOutlet
EUI_DROPDOWN
EUI_ICON
EUI_AVATAR
EUI_BADGE
|
styleUrls | ./_styles/_index.scss |
templateUrl | ./user-profile.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
avatarUrl |
Type : string
|
euiStatusDanger |
Type : boolean
|
Default value : false
|
euiStatusSecondary |
Type : boolean
|
Default value : false
|
euiStatusSuccess |
Type : boolean
|
Default value : false
|
hasMenu |
Type : boolean
|
Default value : false
|
hasTabNavigation |
Type : boolean
|
Default value : false
|
hasToggle |
Type : boolean
|
Default value : false
|
hasWelcomeLabel |
Type : boolean
|
Default value : true
|
impersonateLabel |
Type : string
|
Default value : 'impersonating'
|
isHeaderUserProfile |
Type : boolean
|
Default value : false
|
isMobileOnly |
Type : boolean
|
Default value : true
|
isReverse |
Type : boolean
|
Default value : false
|
isShowAvatarInitials |
Type : boolean
|
Default value : false
|
isShowUserInfos |
Type : boolean
|
Default value : true
|
isToolbarUserProfile |
Type : boolean
|
Default value : false
|
reverseNameOrder |
Type : boolean
|
Default value : false
|
If true, the name will be displayed in reverse order (first name, first) |
statusVariant |
Type : string
|
Default value : 'success'
|
subInfos |
Type : string
|
welcomeLabel |
Type : string
|
Default value : 'Welcome'
|
class |
Type : string
|
closeDropdown |
closeDropdown()
|
Returns :
void
|
onDropdownExpand | ||||||
onDropdownExpand(isOpen: boolean)
|
||||||
Parameters :
Returns :
void
|
avatarInitials |
Type : Signal<string>
|
baseStatesDirective |
Default value : inject(BaseStatesDirective)
|
dropdown |
Type : EuiDropdownComponent
|
Decorators :
@ViewChild('dropdown')
|
hasMenuContent |
Type : QueryList<EuiUserProfileMenuComponent>
|
Decorators :
@ContentChildren(undefined, {descendants: true})
|
isDropdownOpen |
Default value : false
|
userState |
Type : Signal<UserProfile>
|
cssClasses |
getcssClasses()
|