Skip to content

Commit 92a964a

Browse files
Merge pull request #7014 from laylatichy/add-count-to-timeline-context
fix(timeline): add count property to TimelineContext
2 parents d1c4e34 + b0e6e09 commit 92a964a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/primevue/src/timeline/Timeline.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ export interface TimelineContext {
9999
* Current index of the item as a number.
100100
*/
101101
index: number;
102+
103+
/**
104+
* Total number of items in the timeline.
105+
*/
106+
count: number;
102107
}
103108

104109
/**

0 commit comments

Comments
 (0)