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 |
constructor(el: ElementRef)
|
||||||
|
Reference to the native video element.
Parameters :
|
| 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
|
| Public el |
Type : ElementRef
|
| videoClasses |
Type : string
|
Default value : 'ecl-video ecl-banner__video'
|
Decorators :
@HostBinding('class')
|
|
CSS classes applied to the host video element. |