Icon
LmnIconComponent
import { LmnIconComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Properties
Name | Type | Description |
---|---|---|
iconStyle r |
| Define the style of the icon |
nativeElement r | HTMLElement | |
negative r |
| Define the negative status of the icon |
size r |
| Define the size of the icon |
style r |
|
Define the style of the icon |
svgName r |
| Define the svg name of the icon to show |
theme r |
| Define the theme of the icon to show |
weight r |
| Define the weight of the icon |
LmnIconService
import { LmnIconService } from '@elemental/ui';
Decorators: |
|
Properties
Name | Type | Description |
---|---|---|
lastLoadedIconSet r |
|
Methods
addIcons() | |||||||||
---|---|---|---|---|---|---|---|---|---|
Add icons to the loaded iconsets | |||||||||
Presentation
| |||||||||
Parameters
Returnsvoid |
getIcon() | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Get an icon from the loaded datasets | ||||||||||||
Presentation
| ||||||||||||
Parameters
ReturnsSVGElement | undefined |
async loadIcons() | ||||||
---|---|---|---|---|---|---|
Load icons from a metadata remote file such as a CDN | ||||||
Presentation
| ||||||
Parameters
ReturnsPromise<void> |