packages/ecl/components/ecl-banner/ecl-banner-picture.directive.ts
Directive applied to the element inside the banner.
Enables class binding and exposes the element reference.
| Selector | img[eclBannerImage] |
Properties |
Methods |
Inputs |
HostBindings |
constructor(el: ElementRef)
|
||||||
|
Reference to the host image element.
Parameters :
|
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class.ecl-banner__image |
Type : boolean
|
Default value : true
|
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| className |
Default value : true
|
Decorators :
@HostBinding('class.ecl-banner__image')
|
| Public el |
Type : ElementRef
|