Given a timeline, parse it in to a list of TimelineItem objects.
Displays the current position of timeline.
const timeline = new Timeline('--{foo: bar}--4--|')await timeline.next()await timeline.next()await timeline.next()await timeline.next()await timeline.next()console.info(timeline.displayTimelinePosition())`--{foo: bar}--4--| ^` Copy
const timeline = new Timeline('--{foo: bar}--4--|')await timeline.next()await timeline.next()await timeline.next()await timeline.next()await timeline.next()console.info(timeline.displayTimelinePosition())`--{foo: bar}--4--| ^`
Returns a string representation of an object.
Static
Given a timeline, parse it in to a list of TimelineItem objects.