Skip to main content
cngx-src documentation

CngxTimelineTemplates

Interface

projects/common/timeline/timeline-config.ts

Import#

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

Description#

App-wide template defaults for the timeline's slot regions - the middle tier of the family-standard 3-stage cascade (per-instance directive > this field > built-in markup).

Set them with withTimelineTemplates. Keys are typed against unknown items because the config is app-wide while the slots are generic; a TemplateRef for a concrete item type assigns in fine.

Index#

Instance Properties#

dateHeader#TemplateRef>
ReadonlyOptional

Default per-group date header (*cngxTimelineDateHeader).

ReadonlyOptional

Default empty surface (*cngxTimelineEmpty).

ReadonlyOptional

Default error surface (*cngxTimelineError).

ReadonlyOptional

Default row template (*cngxTimelineItem).

loadingTail#TemplateRef
ReadonlyOptional

Default refreshing tail (*cngxTimelineLoadingTail).

ReadonlyOptional

Default marker content (*cngxTimelineMarkerTpl).

retryButton#TemplateRef
ReadonlyOptional

Default retry control (*cngxTimelineRetryButton).

skeleton#TemplateRef
ReadonlyOptional

Default placeholder row for the first-load body (*cngxTimelineSkeleton).