-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Description
Practice Lab 7 – Power Apps Component Framework
Task 1.4: Build the Basic Timeline
9. Create a function that will render the timeline.
private renderTimeline(): void {
// Create a DataSet (allows two way data-binding)
const items = [
{ id: 1, content: 'item 1', start: '2023-08-20' },
{ id: 2, content: 'item 2', start: '2023-08-14' },
{ id: 3, content: 'item 3', start: '2023-08-18' },
{ id: 4, content: 'item 4', start: '2023-08-16', end: '2020-08-19' },
{ id: 5, content: 'item 5', start: '2023-08-25' },
{ id: 6, content: 'item 6', start: '2023-08-27', type: 'point' }
];
// Configuration for the Timeline
const options = {};
// Create a Timeline
const timeline = new Timeline(this._timelineElm, items, options);
}
"item 4" the ending an even before it starts. I suppose it could be assigned to Marty McFly or Doctor Who.
Metadata
Metadata
Assignees
Labels
No labels