packages/ecl/components/ecl-fact-figures/ecl-fact-figures.component.ts
Main component for displaying a collection of fact and figure items in a responsive, styled grid layout.
| selector | ecl-fact-figures |
| styles |
:host {
display: block;
}
|
| templateUrl | ./ecl-fact-figures.component.html |
Methods |
Inputs |
HostBindings |
Accessors |
| columns |
Type : string
|
Default value : '3'
|
|
Number of columns in the layout (as string).
Default is |
| fontSize |
Type : "m" | "l"
|
Default value : 'l'
|
|
Font size variant. Can be:
|
| isCentered |
Type : boolean
|
Default value : false
|
|
Whether the content should be centered.
Adds |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Sets the CSS classes for the component, including layout and font size modifiers. Automatically adds:
|
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| cssClasses |
getcssClasses()
|
|
Sets the CSS classes for the component, including layout and font size modifiers. Automatically adds:
Returns :
string
|