UNPKG

primeng

Version:

[![npm version](https://badge.fury.io/js/primeng.svg)](https://badge.fury.io/js/primeng) [![npm downloads](https://img.shields.io/npm/dm/primeng.svg)](https://www.npmjs.com/package/primeng) [![Actions CI](https://github.com/primefaces/primeng/workflows/No

55 lines (54 loc) 2.2 kB
import { AfterContentInit, ElementRef, QueryList, TemplateRef } from '@angular/core'; import { BlockableUI } from 'primeng/api'; import { Nullable } from 'primeng/ts-helpers'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; import * as i2 from "primeng/api"; /** * Timeline visualizes a series of chained events. * @group Components */ export declare class Timeline implements AfterContentInit, BlockableUI { private el; /** * An array of events to display. * @group Props */ value: any[] | undefined; /** * Inline style of the component. * @group Props */ style: { [klass: string]: any; } | null | undefined; /** * Style class of the component. * @group Props */ styleClass: string | undefined; /** * Position of the timeline bar relative to the content. Valid values are "left", "right" for vertical layout and "top", "bottom" for horizontal layout. * @group Props */ align: string; /** * Orientation of the timeline. * @group Props */ layout: 'vertical' | 'horizontal'; templates: Nullable<QueryList<any>>; contentTemplate: Nullable<TemplateRef<any>>; oppositeTemplate: Nullable<TemplateRef<any>>; markerTemplate: Nullable<TemplateRef<any>>; constructor(el: ElementRef); getBlockableElement(): HTMLElement; ngAfterContentInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<Timeline, never>; static ɵcmp: i0.ɵɵComponentDeclaration<Timeline, "p-timeline", never, { "value": { "alias": "value"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "align": { "alias": "align"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, {}, ["templates"], never, false, never>; } export declare class TimelineModule { static ɵfac: i0.ɵɵFactoryDeclaration<TimelineModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<TimelineModule, [typeof Timeline], [typeof i1.CommonModule], [typeof Timeline, typeof i2.SharedModule]>; static ɵinj: i0.ɵɵInjectorDeclaration<TimelineModule>; }