forked from NativeScript/NativeScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprogress.d.ts
More file actions
42 lines (36 loc) · 1.47 KB
/
progress.d.ts
File metadata and controls
42 lines (36 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* Contains the Progress class, which represents a component capable of showing progress.
*/
declare module "ui/progress" {
import view = require("ui/core/view");
import dependencyObservable = require("ui/core/dependency-observable");
/**
* Represents a progress component.
*/
export class Progress extends view.View {
/**
* Represents the observable property backing the value property of each Progress instance.
*/
public static valueProperty: dependencyObservable.Property;
/**
* Represents the observable property backing the maxValue property of each Progress instance.
*/
public static maxValueProperty: dependencyObservable.Property;
/**
* Gets the native [android widget](http://developer.android.com/reference/android/widget/ProgressBar.html) that represents the user interface for this component. Valid only when running on Android OS.
*/
android: android.widget.ProgressBar;
/**
* Gets the native iOS [UIProgressView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIProgressView_Class/) that represents the user interface for this component. Valid only when running on iOS.
*/
ios: UIProgressView;
/**
* Gets or sets a progress current value.
*/
value: number;
/**
* Gets or sets a progress max value.
*/
maxValue: number;
}
}