Files
Panayot Cankov e135c20b14 Rename the files
2016-05-26 14:30:25 +03:00

53 lines
1.8 KiB
TypeScript

/**
* Contains the Slider class, which represents a standard slider component.
*/
declare module "ui/slider" {
import view = require("ui/core/view");
import dependencyObservable = require("ui/core/dependency-observable");
/**
* Represents a slider component.
*/
export class Slider extends view.View {
/**
* Represents the observable property backing the value property of each Slider instance.
*/
public static valueProperty: dependencyObservable.Property;
/**
* Represents the observable property backing the minValue property of each Slider instance.
*/
public static minValueProperty: dependencyObservable.Property;
/**
* Represents the observable property backing the maxValue property of each Slider instance.
*/
public static maxValueProperty: dependencyObservable.Property;
/**
* 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;
}
}