Skip to main content
cngx-src documentation

CngxTimelineItemContext

Interface

projects/common/timeline/template-slots.ts

Referenced by#

Import#

import { CngxTimelineItemContext } from '@cngx/common/timeline'

Description#

Context for *cngxTimelineItem - the item itself plus where it sits.

first and last are positions within the group, not within the whole timeline, because that is what a consumer needs to decide whether to draw a trailing rail.

Index#

Instance Properties#

$implicit#T
Readonly
Readonly

First item of its group.

Readonly

The group this item was bucketed into.

index#number
Readonly

Index within the group.

Readonly

Last item of its group.