UNPKG

ng-zorro-antd

Version:

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

32 lines (31 loc) 1.13 kB
/** * @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 { Platform } from '@angular/cdk/platform'; import { ChangeDetectorRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { NzStatisticComponent } from './statistic.component'; export declare class NzCountdownComponent extends NzStatisticComponent implements OnInit, OnChanges, OnDestroy { private cdr; private ngZone; private platform; nzFormat: string; readonly nzCountdownFinish: EventEmitter<void>; diff: number; private target; private updater_; constructor(cdr: ChangeDetectorRef, ngZone: NgZone, platform: Platform); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; ngOnDestroy(): void; syncTimer(): void; startTimer(): void; stopTimer(): void; /** * Update time that should be displayed on the screen. */ protected updateValue(): void; }