Merge pull request #7014 from laylatichy/add-count-to-timeline-context
fix(timeline): add count property to TimelineContextpull/7024/head
commit
92a964aa9f
|
@ -99,6 +99,11 @@ export interface TimelineContext {
|
|||
* Current index of the item as a number.
|
||||
*/
|
||||
index: number;
|
||||
|
||||
/**
|
||||
* Total number of items in the timeline.
|
||||
*/
|
||||
count: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue