packages/ecl/components/ecl-timeline/ecl-timeline-item.component.ts
AfterContentInit
AfterViewChecked
OnDestroy
| encapsulation | ViewEncapsulation.None |
| selector | ecl-timeline-item, li[eclTimelineItem] |
| imports |
EUI_ECL_ICON
EUI_ECL_BUTTON
NgTemplateOutlet
|
| styles |
ecl-timeline-item {
display: list-item;
}
|
| templateUrl | ecl-timeline-item.component.html |
Properties |
Methods |
Inputs |
Outputs |
HostBindings |
Accessors |
| collapseLabel |
Type : string
|
Default value : 'Collapse'
|
|
Text label shown when the item is expanded and can be collapsed.
Defaults to |
| expandLabel |
Type : string
|
Default value : 'Expand'
|
|
Text label shown when the item is collapsed and can be expanded.
Defaults to |
| isCollapsed |
Type : boolean
|
Default value : false
|
|
Whether the item is collapsed.
Adds the |
| isHeadline |
Type : boolean
|
Default value : false
|
| isToggler |
Type : boolean
|
Default value : false
|
|
Whether the item is a toggler (e.g. expands/collapses related items).
Adds the |
| isTogglerExpanded |
Type : boolean
|
Default value : false
|
|
Indicates whether the toggler is initially expanded. Used for toggler-type items. |
| toggleGroup |
Type : string
|
|
Name of the toggle group that this item belongs to. Used to coordinate collapsing/expanding related items. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| toggle |
Type : EventEmitter
|
|
Event emitted when the toggler is clicked.
Consumers can call |
| class |
Type : string
|
|
Adds the |
| hasDefaultToggler |
hasDefaultToggler()
|
|
Checks whether the default toggler UI should be used. Returns true if this is a toggler and no custom toggler component is projected.
Returns :
boolean
|
| onTogglerClick | ||||||||
onTogglerClick(evt: MouseEvent)
|
||||||||
|
Handles click events from the default toggler element.
Parameters :
Returns :
void
|
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclLink |
Type : EclLinkDirective
|
Decorators :
@ContentChild(undefined)
|
|
Reference to a projected ECL link, used for setting focus after toggle. |
| eclTimelineItemLabel |
Type : ElementRef
|
Decorators :
@ContentChild(undefined, {read: ElementRef})
|
|
Reference to a projected label for the item. Used to set height, when item has no content and title. |
| timelineItemToggler |
Type : EclTimelineItemTogglerComponent
|
Decorators :
@ContentChild(undefined)
|
|
Reference to a projected custom toggler component. |
| timelineTitle |
Type : EclTimelineItemTitleDirective
|
Decorators :
@ContentChild(undefined)
|
| cssClasses |
getcssClasses()
|
|
Adds the
Returns :
string
|
| isShowExpandLabel |
getisShowExpandLabel()
|
|
True if the expand label should be visible.
Returns :
boolean
|
| isShowCollapseLabel |
getisShowCollapseLabel()
|
|
True if the collapse label should be visible.
Returns :
boolean
|