/
slider.d.ts
51 lines (42 loc) · 1.55 KB
/
slider.d.ts
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
43
44
45
46
47
48
49
50
51
/**
* Contains the Slider class, which represents a standard slider component.
* @module "ui/slider"
*/ /** */
import { View, Property, CoercibleProperty } from "../core/view";
/**
* Represents a slider component.
*/
export class Slider extends View {
/**
* Gets the native [android widget](http://developer.android.com/reference/android/widget/SeekBar.html) that represents the user interface for this component. Valid only when running on Android OS.
*/
android: any /* android.widget.SeekBar */;
/**
* Gets the native iOS [UISlider](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISlider_Class/) that represents the user interface for this component. Valid only when running on iOS.
*/
ios: any /* UISlider */;
/**
* Gets or sets a slider current value. The default value is 0.
*/
value: number;
/**
* Gets or sets a slider min value. The default value is 0.
*/
minValue: number;
/**
* Gets or sets a slider max value. The default value is 100.
*/
maxValue: number;
}
/**
* Represents the observable property backing the value property of each Slider instance.
*/
export const valueProperty: CoercibleProperty<Slider, number>;
/**
* Represents the observable property backing the minValue property of each Slider instance.
*/
export const minValueProperty: Property<Slider, number>;
/**
* Represents the observable property backing the maxValue property of each Slider instance.
*/
export const maxValueProperty: CoercibleProperty<Slider, number>;