@elemental/ui / Class

LmnAvatarComponent

Decorators:@Component
Selectors:lmn-avatar
Implements:OnInitOnChanges

No documentation has been provided.

Properties

NameTypeDescription
active
r
InputSignalWithTransform<boolean, unknown>

Set the active state of the avatar

attrId
r
InputSignal<string | undefined>

If defined, an id="[value]" attribute is added to the button.

attrRole
r
InputSignal<LmnButtonRole | undefined>

If defined, a role="[value]" attribute is added to the button.

attrType
r
InputSignal<LmnButtonType | undefined>

If defined, a type="[value]" attribute is added to the button.

disabled
r
InputSignalWithTransform<boolean, unknown>

Set the disabled state of the avatar

disabledTooltip
r
InputSignal<string | undefined>

Tooltip displayed when the avatar is disabled.

iconSvgName
r
InputSignal<string | undefined>

The name of the icon to display. If imageUrl is defined, this input is ignored.

imageUrl
r
InputSignal<string | undefined>

The url of the image to display.

interactive
r
InputSignalWithTransform<boolean, unknown>

Whether the avatar is interactive or not.

nativeElement
r
HTMLElement
negative
r
InputSignalWithTransform<boolean, unknown>

Set the negative state of the avatar

shape
r
InputSignal<LmnAvatarShape>

The shape of the avatar

size
r
InputSignal<LmnAvatarSize>

The size of the avatar.

text
r
InputSignalWithTransform<string, string | undefined>

The text to display. If imageUrl or iconSvgName is defined, this input is ignored.

theme
r
InputSignal<LmnAvatarTheme>

The theme of the avatar.

tooltip
r
InputSignal<string>

The tooltip to display. The tooltip is only displayed if attrRole is defined.

tooltipPosition
r
InputSignal<LmnTooltipPosition>

The position of the tooltip.

trigger
r
OutputEmitterRef<MouseEvent | KeyboardEvent>

Event emitted when the button is clicked. Emitted only if attrRole is defined.

Methods

focus()

No documentation has been provided.

Presentation
focus(): void;
Returns
void