packages/ecl/components/ecl-file/ecl-file-download.directive.ts
Directive to style a file preview link. Adds spacing and ECL link classes for standalone appearance.
| Selector | [eclFilePreview] |
Properties |
Methods |
Inputs |
HostBindings |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class.ecl-link |
Type : boolean
|
Default value : true
|
|
Applies ECL link class to the host element. |
| class.ecl-link--standalone |
Type : boolean
|
Default value : true
|
|
Applies the standalone variant of the ECL link class to the host element. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| hasClass |
Type : unknown
|
Default value : true
|
Decorators :
@HostBinding('class.ecl-link')
|
|
Applies ECL link class to the host element. |
| hasClassStandalone |
Type : unknown
|
Default value : true
|
Decorators :
@HostBinding('class.ecl-link--standalone')
|
|
Applies the standalone variant of the ECL link class to the host element. |