Sets or gets the items. Each item should be an object. The object has the following properties: date: date, description: string, subtitle: string, css: string, dotCSS: string, title: string and icon: string.
import { Component, viewChild } from '@angular/core';
import { jqxTimelineComponent, jqxTimelineModule } from 'jqwidgets-ng/jqxtimeline';
@Component({
selector: 'app-root',
imports: [jqxTimelineModule],
template: `<jqxTimeline
#myTimeline
[source]="[
{
date: 'May 15, 2024',
description: 'Flight: Reserving airline tickets',
subtitle: 'May 15, 2024',
title: 'Flight Reservation',
icon: 'material-icons flight',
dotCSS: ''
}
]"
>
Check Me Out!
</jqxTimeline>`,
styles: [``]
})
export class App {
readonly myTimeline = viewChild.required<jqxTimelineComponent>('myTimeline');
}