mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
next
This commit is contained in:
38
tns-core-modules/ui/slider/slider.d.ts
vendored
38
tns-core-modules/ui/slider/slider.d.ts
vendored
@ -2,28 +2,13 @@
|
||||
* 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");
|
||||
import { View } from "ui/core/view";
|
||||
import { Property } from "ui/core/properties";
|
||||
|
||||
/**
|
||||
* 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;
|
||||
|
||||
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.
|
||||
*/
|
||||
@ -49,4 +34,19 @@ declare module "ui/slider" {
|
||||
*/
|
||||
maxValue: number;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents the observable property backing the value property of each Slider instance.
|
||||
*/
|
||||
export const valueProperty: Property<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: Property<Slider, number>;
|
||||
}
|
Reference in New Issue
Block a user