Avatar
LmnAvatarComponent
import { LmnAvatarComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Implements: |
|
Properties
Name | Type | Description |
---|---|---|
active r |
| Set the active state of the avatar |
attrId r |
| If defined, an id="[value]" attribute is added to the button. |
attrRole r |
| If defined, a role="[value]" attribute is added to the button. |
attrType r |
| If defined, a type="[value]" attribute is added to the button. |
disabled r |
| Set the disabled state of the avatar |
disabledTooltip r |
| Tooltip displayed when the avatar is disabled. |
iconSvgName r |
| The name of the icon to display. If imageUrl is defined, this input is ignored. |
imageUrl r |
| The url of the image to display. |
interactive r |
| Whether the avatar is interactive or not. |
nativeElement r | HTMLElement | |
negative r |
| Set the negative state of the avatar |
shape r |
| The shape of the avatar |
size r |
| The size of the avatar. |
text r |
| The text to display. If imageUrl or iconSvgName is defined, this input is ignored. |
theme r |
| The theme of the avatar. |
tooltip r |
| The tooltip to display. The tooltip is only displayed if attrRole is defined. |
tooltipPosition r |
| The position of the tooltip. |
trigger r |
| Event emitted when the button is clicked. Emitted only if attrRole is defined. |
Methods
focus() |
---|
No documentation has been provided. |
Presentation
|
Returnsvoid |