UNPKG

@nativescript/core

Version:

A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.

20 lines (19 loc) 763 B
import { SliderBase } from './slider-common'; export * from './slider-common'; interface OwnerSeekBar extends android.widget.SeekBar { owner: Slider; } export declare class Slider extends SliderBase { _supressNativeValue: boolean; nativeViewProtected: OwnerSeekBar; createNativeView(): globalAndroid.widget.SeekBar; initNativeView(): void; disposeNativeView(): void; resetNativeView(): void; /** * There is no minValue in Android. We simulate this by subtracting the minValue from the native value and maxValue. * We need this method to call native setMax and setProgress methods when minValue property is changed, * without handling the native value changed callback. */ private setNativeValuesSilently; }