ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
26 lines (25 loc) • 1 kB
TypeScript
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* 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 { NzTimelineMode } from './timeline.component';
declare const TimelineTimeDefaultColors: readonly ["red", "blue", "green", "grey", "gray"];
export declare type NzTimelineItemColor = typeof TimelineTimeDefaultColors[number];
export declare class NzTimelineItemComponent implements OnChanges {
private cdr;
template: TemplateRef<void>;
nzColor: NzTimelineItemColor;
nzDot: string | TemplateRef<void>;
isLast: boolean;
borderColor: string | null;
position: NzTimelineMode | undefined;
constructor(cdr: ChangeDetectorRef);
ngOnChanges(changes: SimpleChanges): void;
detectChanges(): void;
private updateCustomColor;
}
export {};