UNPKG

@nativescript/core

Version:

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

37 lines (36 loc) 1.95 kB
import { Font } from '../styling/font'; import { SearchBarBase, textProperty, hintProperty, textFieldHintColorProperty, textFieldBackgroundColorProperty, clearButtonColorProperty } from './search-bar-common'; import { isEnabledProperty } from '../core/view'; import { Color } from '../../color'; import { colorProperty, backgroundColorProperty, backgroundInternalProperty, fontInternalProperty } from '../styling/style-properties'; export * from './search-bar-common'; export declare class SearchBar extends SearchBarBase { [isEnabledProperty.setNative]: (value: boolean) => void; [backgroundColorProperty.getDefault]: () => UIColor; [backgroundColorProperty.setNative]: (value: UIColor | Color) => void; [colorProperty.getDefault]: () => UIColor; [colorProperty.setNative]: (value: UIColor | Color) => void; [fontInternalProperty.getDefault]: () => UIFont; [fontInternalProperty.setNative]: (value: UIFont | Font) => void; [backgroundInternalProperty.getDefault]: () => any; [backgroundInternalProperty.setNative]: (value: UIColor) => void; [textProperty.getDefault]: () => string; [textProperty.setNative]: (value: string) => void; [hintProperty.getDefault]: () => string; [hintProperty.setNative]: (value: string) => void; [textFieldBackgroundColorProperty.getDefault]: () => UIColor; [textFieldBackgroundColorProperty.setNative]: (value: Color | UIColor) => void; [textFieldHintColorProperty.getDefault]: () => UIColor; [textFieldHintColorProperty.setNative]: (value: Color | UIColor) => void; [clearButtonColorProperty.setNative]: (value: Color | UIColor) => void; nativeViewProtected: UISearchBar; private _delegate; private _textField; createNativeView(): UISearchBar; initNativeView(): void; disposeNativeView(): void; dismissSoftInput(): void; private _getTextField; get ios(): UISearchBar; _updateAttributedPlaceholder(): void; }