File

packages/ecl/components/ecl-content-item/ecl-content-item-image.directive.ts

Description

Directive used for styling the inner image element inside the content item. Also used programmatically for interaction bindings.

Extends

ECLBaseDirective

Metadata

Index

Properties
  • Public el
Methods
Inputs
HostBindings
Accessors

Constructor

constructor(el: ElementRef)

Reference to the DOM element of the image.

Parameters :
Name Type Optional
el ElementRef No

Inputs

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

HostBindings

class
Type : string

Computed CSS classes for the host image element.

Methods

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

Properties

Public el
Type : ElementRef

Accessors

cssClasses
getcssClasses()

Computed CSS classes for the host image element.

Returns : string

results matching ""

    No results matching ""