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 } from 'jqwidgets-ng/jqxtimeline';
@Component({
selector: 'app-root',
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 AppComponent {
@ViewChild(
'myTimeline', { static:
false }) myTimeline!: jqxTimelineComponent;