0
Fork 0
mirror of https://github.com/TanStack/time.git synced 2026-11-16 19:09:47 +00:00
time/docs/reference/interfaces/TimelineApi.md
2026-08-22 23:22:16 +00:00

1,016 B

id title
TimelineApi TimelineApi

Interface: TimelineApi<TResource, TEvent>

Defined in: calendar/features/timeline.ts:6

Type Parameters

TResource

TResource extends Resource

TEvent

TEvent extends Event<TResource>

Properties

getEventsByResource()

getEventsByResource: () => Map<TResource["id"], TEvent[]>;

Defined in: calendar/features/timeline.ts:7

Returns

Map<TResource["id"], TEvent[]>


getTimelineLayout()

getTimelineLayout: () => TimelineLayout<TResource, TEvent>;

Defined in: calendar/features/timeline.ts:8

Returns

TimelineLayout<TResource, TEvent>