Button
LmnButtonComponent
import { LmnButtonComponent } from '@elemental/ui';
Decorators: |
|
Selectors: | button[ button[ button[ a[ a[ a[ |
Implements: |
|
Properties
Name | Type | Description |
---|---|---|
active |
| Whether the button is active |
disabled |
| Whether the button is disabled |
disabledTooltip |
| Text of the tooltip to be displayed on interaction when the button is disabled |
iconPosition |
| Whether the icon should be displayed before or after the text (if existing) |
iconSvgName |
| SVG name of the icon to be displayed in the button |
label |
| Label to be displayed in the button |
loading |
| Whether the button is in its loading state |
loadingTooltip |
| Text of the tooltip to be displayed on interaction when the button is in its loading state |
nativeElement r | HTMLButtonElement | HTMLAnchorElement | |
negative |
| Whether the button is in its negative mode |
shape |
| Shape of the button |
size |
| Size of the button |
theme |
| Theme of the button |
tooltip |
| Tooltip to be displayed near the button when it is in its default state (both loading and disabled set to false) |
trigger r |
| It is emitted whenever the button is activated, regardless of whether the event was initiated with the mouse, keyboard or screen reader. |