@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
20 lines (19 loc) • 858 B
TypeScript
import { ListPickerBase, selectedIndexProperty, itemsProperty, ItemsSource } from './list-picker-common';
import { Color } from '../../color';
import { colorProperty } from '../styling/style-properties';
export * from './list-picker-common';
export declare class ListPicker extends ListPickerBase {
[selectedIndexProperty.getDefault]: () => number;
[selectedIndexProperty.setNative]: (value: number) => void;
[itemsProperty.getDefault]: () => any[];
[itemsProperty.setNative]: (value: any[] | ItemsSource) => void;
[colorProperty.getDefault]: () => UIColor;
[colorProperty.setNative]: (value: UIColor | Color) => void;
nativeViewProtected: UIPickerView;
private _dataSource;
private _delegate;
createNativeView(): UIPickerView;
initNativeView(): void;
disposeNativeView(): void;
get ios(): UIPickerView;
}