@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
12 lines (11 loc) • 406 B
TypeScript
import { SwitchBase } from './switch-common';
export * from './switch-common';
export declare class Switch extends SwitchBase {
nativeViewProtected: android.widget.Switch;
checked: boolean;
createNativeView(): globalAndroid.widget.Switch;
initNativeView(): void;
disposeNativeView(): void;
private setNativeBackgroundColor;
_onCheckedPropertyChanged(newValue: boolean): void;
}