feat(timeline): add count property to TimelineContext for total items tracking

pull/7014/head
Layla Tichy 2024-12-26 19:04:16 +00:00 committed by GitButler
parent 96abb53576
commit b0e6e095f1
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.
*/
index: number;
/**
* Total number of items in the timeline.
*/
count: number;
}
/**