core/list-group/list-item-timeline.component.ts
Allows to display a timeline. Should be used with content projection.
<c8y-list-group>
<c8y-li-timeline>
24.April 2020
<c8y-li>
Hello
</c8y-li>
</c8y-li-timeline>
</c8y-list-group>
host | { |
selector | c8y-list-item-timeline, c8y-li-timeline |
templateUrl | ./list-item-timeline.component.html |
Properties |
HostBindings |
Accessors |
class.expanded |
Type : boolean
|
listItemComponent |
Type : ListItemComponent
|
Decorators :
@ContentChild(ListItemComponent, {static: false})
|
expanded |
getexpanded()
|
<small class="c8y-list--timeline__item__date">
<ng-content></ng-content>
</small>
<ng-content select="c8y-li, c8y-list-item"></ng-content>