File

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

Description

Directive to style an element inside an ECL file component. Adds the ECL-specific image class.

Extends

ECLBaseDirective

Metadata

Index

Properties
Methods
Inputs
HostBindings

Inputs

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

HostBindings

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

Applies the ECL image class to the host element.

Methods

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

Properties

className
Type : unknown
Default value : true
Decorators :
@HostBinding('class.ecl-file__image')

Applies the ECL image class to the host element.

results matching ""

    No results matching ""