packages/ecl/components/ecl-banner/ecl-banner-video.directive.ts
Directive applied to the video element used in the banner. Adds appropriate styling classes to the host element.
| Selector | video[eclBannerVideo] |
Properties |
Methods |
Inputs |
HostBindings |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
Default value : 'ecl-video ecl-banner__video'
|
|
CSS classes applied to the host video element. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| el |
Type : unknown
|
Default value : inject(ElementRef)
|
| videoClasses |
Type : string
|
Default value : 'ecl-video ecl-banner__video'
|
Decorators :
@HostBinding('class')
|
|
CSS classes applied to the host video element. |