UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

27 lines (26 loc) 1.32 kB
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { ChangeDetectorRef, OnChanges, SimpleChanges, TemplateRef } from '@angular/core'; import { TimelineService } from './timeline.service'; import { NzTimelineItemColor, NzTimelinePosition } from './typings'; import * as i0 from "@angular/core"; export declare class NzTimelineItemComponent implements OnChanges { private cdr; private timelineService; template: TemplateRef<void>; nzPosition?: NzTimelinePosition; nzColor: NzTimelineItemColor; nzDot?: string | TemplateRef<void>; nzLabel?: string | TemplateRef<void>; isLast: boolean; borderColor: string | null; position?: NzTimelinePosition; constructor(cdr: ChangeDetectorRef, timelineService: TimelineService); ngOnChanges(changes: SimpleChanges): void; detectChanges(): void; private updateCustomColor; static ɵfac: i0.ɵɵFactoryDeclaration<NzTimelineItemComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NzTimelineItemComponent, "nz-timeline-item, [nz-timeline-item]", ["nzTimelineItem"], { "nzPosition": "nzPosition"; "nzColor": "nzColor"; "nzDot": "nzDot"; "nzLabel": "nzLabel"; }, {}, never, ["*"]>; }