UNPKG

492 BTypeScriptView Raw
1import { SwitchBase } from './switch-common';
2export * from './switch-common';
3export declare class Switch extends SwitchBase {
4 nativeViewProtected: UISwitch;
5 private _handler;
6 constructor();
7 createNativeView(): UISwitch;
8 initNativeView(): void;
9 disposeNativeView(): void;
10 private setNativeBackgroundColor;
11 _onCheckedPropertyChanged(newValue: boolean): void;
12 get ios(): UISwitch;
13 onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void;
14}