ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
31 lines (30 loc) • 1.36 kB
TypeScript
/**
* 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 { EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { NzStatisticComponent } from './statistic.component';
import * as i0 from "@angular/core";
export declare class NzCountdownComponent extends NzStatisticComponent implements OnInit, OnChanges, OnDestroy {
private ngZone;
private platform;
nzFormat: string;
readonly nzCountdownFinish: EventEmitter<void>;
diff: number;
private target;
private updater_?;
constructor(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;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCountdownComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCountdownComponent, "nz-countdown", ["nzCountdown"], { "nzFormat": { "alias": "nzFormat"; "required": false; }; }, { "nzCountdownFinish": "nzCountdownFinish"; }, never, never, true, never>;
}