solar-ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
50 lines (49 loc) • 1.43 kB
TypeScript
import { OnInit } from '@angular/core';
export declare type NzProgressGapPositionType = 'top' | 'bottom' | 'left' | 'right';
export declare type NzProgressStatusType = 'success' | 'exception' | 'active' | 'normal';
export declare type NzProgressTypeType = 'line' | 'circle' | 'dashboard';
export declare class NzProgressComponent implements OnInit {
private _gapDegree;
private _gapPosition;
private _percent;
private _status;
private _cacheStatus;
private _strokeWidth;
private _size;
private _type;
private _format;
trailPathStyle: {
[key: string]: string;
};
strokePathStyle: {
[key: string]: string;
};
pathString: string;
icon: any;
iconTheme: any;
isStatusSet: boolean;
isStrokeWidthSet: boolean;
isFormatSet: boolean;
isGapDegreeSet: boolean;
isGapPositionSet: boolean;
statusColorMap: {
normal: string;
exception: string;
success: string;
};
nzShowInfo: boolean;
nzWidth: number;
nzSuccessPercent: number;
nzSize: string;
nzFormat: (percent: number) => string;
nzPercent: number;
nzStrokeWidth: number;
nzStatus: NzProgressStatusType;
nzType: NzProgressTypeType;
nzGapDegree: number;
nzGapPosition: NzProgressGapPositionType;
readonly isCirCleStyle: boolean;
updatePathStyles(): void;
updateIcon(): void;
ngOnInit(): void;
}