File

packages/ecl/components/ecl-news-ticker/ecl-news-ticker-item.component.ts

Extends

ECLBaseDirective

Implements

AfterContentInit OnDestroy

Metadata

Index

Properties
Methods
Inputs
Outputs
HostBindings
Accessors

Inputs

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

Outputs

itemFocused
Type : EventEmitter

Emitted when the internal link receives focus (used to cancel autoplay).

HostBindings

attr.aria-hidden
Type : boolean

Sets aria-hidden based on current slide visibility.

attr.inert
Type : boolean

Sets inert attribute when the item is not current (prevents interaction).

attr.role
Type : string
Default value : 'listitem'

Declares ARIA role as list item for accessibility.

class
Type : string

HostBinding to set the component’s CSS classes.

Methods

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

Properties

eclLink
Type : EclLinkDirective
Decorators :
@ContentChild(EclLinkDirective)

Optional projected ecl-link element within the news ticker item.

el
Type : unknown
Default value : inject(ElementRef)
role
Type : string
Default value : 'listitem'
Decorators :
@HostBinding('attr.role')

Declares ARIA role as list item for accessibility.

Accessors

cssClasses
getcssClasses()

HostBinding to set the component’s CSS classes.

Returns : string
isCurrent
getisCurrent()

Whether this slide is currently visible.

Returns : boolean
setisCurrent(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void
isAriahidden
getisAriahidden()

Sets aria-hidden based on current slide visibility.

Returns : boolean
isInert
getisInert()

Sets inert attribute when the item is not current (prevents interaction).

Returns : boolean

results matching ""

    No results matching ""