File

packages/ecl/components/ecl-banner/ecl-banner-picture.directive.ts

Description

Directive applied to the element inside the banner. Enables class binding and exposes the element reference.

Extends

ECLBaseDirective

Metadata

Index

Properties
Methods
Inputs
HostBindings

Constructor

constructor(el: ElementRef)

Reference to the host image element.

Parameters :
Name Type Optional
el ElementRef No

Inputs

class
Type : string
e2eAttr
Type : any
tabindex
Type : number

HostBindings

class.ecl-banner__image
Type : boolean
Default value : true

Methods

getCssClasses
getCssClasses(rootClass: string)
Parameters :
Name Type Optional
rootClass string No
Returns : string

Properties

className
Default value : true
Decorators :
@HostBinding('class.ecl-banner__image')
Public el
Type : ElementRef

results matching ""

    No results matching ""