packages/ecl/components/ecl-loading-indicator/ecl-loading-indicator.component.ts
Component representing a loading indicator (spinner) using ECL styles.
Supports different sizes, color variants, centering and visibility options.
| selector | ecl-loading-indicator |
| templateUrl | ./ecl-loading-indicator.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| isCentered |
Type : boolean
|
Default value : true
|
|
Controls whether the spinner should be centered. Defaults to |
| isVisible |
Type : boolean
|
Default value : true
|
|
Controls visibility of the spinner. When set to Defaults to |
| size |
Type : "s" | "m" | "l"
|
Default value : 'm'
|
|
Size of the spinner. Possible values:
|
| variant |
Type : "primary" | "inverted"
|
Default value : 'primary'
|
|
Variant of the spinner color. Possible values:
|
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| attr.role |
Type : string
|
Default value : 'alert'
|
|
Applies ARIA role for accessibility. |
| class |
Type : string
|
|
Applies CSS classes based on size, variant and visibility settings. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| role |
Type : string
|
Default value : 'alert'
|
Decorators :
@HostBinding('attr.role')
|
|
Applies ARIA role for accessibility. |
| cssClasses |
getcssClasses()
|
|
Applies CSS classes based on size, variant and visibility settings.
Returns :
string
|