From b0e6e095f17766b2266ee9aff9243d547034a3af Mon Sep 17 00:00:00 2001 From: Layla Tichy Date: Thu, 26 Dec 2024 19:04:16 +0000 Subject: [PATCH] feat(timeline): add count property to TimelineContext for total items tracking --- packages/primevue/src/timeline/Timeline.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/primevue/src/timeline/Timeline.d.ts b/packages/primevue/src/timeline/Timeline.d.ts index 5ba5ea434..e30606d73 100644 --- a/packages/primevue/src/timeline/Timeline.d.ts +++ b/packages/primevue/src/timeline/Timeline.d.ts @@ -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; } /**