UNPKG

1.15 kBTypeScriptView Raw
1import { ModuleWithProviders } from '@angular/core';
2/**
3 * <md-progress-bar> component.
4 */
5export declare class MdProgressBar {
6 /** Value of the progressbar. Defaults to zero. Mirrored to aria-valuenow. */
7 private _value;
8 value: number;
9 /** Buffer value of the progress bar. Defaults to zero. */
10 private _bufferValue;
11 bufferValue: number;
12 /**
13 * Mode of the progress bar.
14 *
15 * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to
16 * 'determinate'.
17 * Mirrored to mode attribute.
18 */
19 mode: 'determinate' | 'indeterminate' | 'buffer' | 'query';
20 /** Gets the current transform value for the progress bar's primary indicator. */
21 _primaryTransform(): {
22 transform: string;
23 };
24 /**
25 * Gets the current transform value for the progress bar's buffer indicator. Only used if the
26 * progress mode is set to buffer, otherwise returns an undefined, causing no transformation.
27 */
28 _bufferTransform(): {
29 transform: string;
30 };
31}
32export declare class MdProgressBarModule {
33 static forRoot(): ModuleWithProviders;
34}