timeline-item.component.d.ts 1.4 KB

1234567891011121314151617181920212223242526
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { ChangeDetectorRef, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
  6. import { TimelineService } from './timeline.service';
  7. import { NzTimelineItemColor, NzTimelinePosition } from './typings';
  8. import * as i0 from "@angular/core";
  9. export declare class NzTimelineItemComponent implements OnChanges {
  10. private cdr;
  11. private timelineService;
  12. template: TemplateRef<void>;
  13. nzPosition?: NzTimelinePosition;
  14. nzColor: NzTimelineItemColor;
  15. nzDot?: string | TemplateRef<void>;
  16. nzLabel?: string | TemplateRef<void>;
  17. isLast: boolean;
  18. borderColor: string | null;
  19. position?: NzTimelinePosition;
  20. constructor(cdr: ChangeDetectorRef, timelineService: TimelineService);
  21. ngOnChanges(changes: SimpleChanges): void;
  22. detectChanges(): void;
  23. private updateCustomColor;
  24. static ɵfac: i0.ɵɵFactoryDeclaration<NzTimelineItemComponent, never>;
  25. static ɵcmp: i0.ɵɵComponentDeclaration<NzTimelineItemComponent, "nz-timeline-item, [nz-timeline-item]", ["nzTimelineItem"], { "nzPosition": { "alias": "nzPosition"; "required": false; }; "nzColor": { "alias": "nzColor"; "required": false; }; "nzDot": { "alias": "nzDot"; "required": false; }; "nzLabel": { "alias": "nzLabel"; "required": false; }; }, {}, never, ["*"], true, never>;
  26. }