systelab-components
Version:
systelab-components is a set of components that use wide accepted and adopted standard technologies like Angular and Bootstrap, as well as other popular libraries. Please read the ATTRIBUTION.md file for a complete list of dependencies.
28 lines (27 loc) • 1.07 kB
TypeScript
import { EventEmitter } from '@angular/core';
import { I18nService } from 'systelab-translate';
import * as i0 from "@angular/core";
export declare class TimelineEvent {
title: string;
publishingDate: Date;
text: string;
inverted: boolean;
icon: string;
extraText: string;
richExtraText: string;
data: Object;
color: string;
constructor(title: string, publishingDate: Date, text: string);
getIcon(): string;
getColor(): string;
}
export declare class TimelineComponent {
protected i18nService: I18nService;
events: TimelineEvent[];
timelineClick: EventEmitter<TimelineEvent>;
constructor(i18nService: I18nService);
getPrintableDate(event: TimelineEvent): string;
doClick(timelineEvent: TimelineEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineComponent, "systelab-timeline", never, { "events": { "alias": "events"; "required": false; }; }, { "timelineClick": "timelineClick"; }, never, never, false, never>;
}