Merge pull request #7014 from laylatichy/add-count-to-timeline-context

fix(timeline): add count property to TimelineContext
pull/7024/head
Tuğçe Küçükoğlu 2024-12-27 13:08:37 +03:00 committed by GitHub
commit 92a964aa9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -99,6 +99,11 @@ export interface TimelineContext {
* Current index of the item as a number. * Current index of the item as a number.
*/ */
index: number; index: number;
/**
* Total number of items in the timeline.
*/
count: number;
} }
/** /**