Classes
SearchBar
SearchBar
Represents a search bar component.
Summary 
Constructors
Properties
152 properties inherited from View
Click to expand
Constructors 
Properties 
android 
Gets the native [android widget](http://developer.android.com/reference/android/widget/SearchView.html) that represents the user interface for this component. Valid only when running on Android OS.
hint 
Gets or sets the text of the search bar text field hint/placeholder.
ios 
Gets the native iOS [UISearchBar](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISearchBar_Class/) that represents the user interface for this component. Valid only when running on iOS.
text 
Gets or sets a search bar text.
textFieldBackgroundColor 
textFieldBackgroundColor: Color
Gets or sets the TextField background color of the SearchBar component.
textFieldHintColor 
textFieldHintColor: Color
Gets or sets the TextField Hint color of the SearchBar component.
clearEvent 
Static
String value used when hooking to clear event.
submitEvent 
Static
String value used when hooking to submit event.
Methods 
dismissSoftInput 
Hides the soft input method, usually a soft keyboard.
 Returns void
on 
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any): void
A basic method signature to hook an event listener (shortcut alias to the addEventListener method).
| Parameter | Default | Description | 
eventNames |  | stringString corresponding to events (e.g. "propertyChange"). Optionally could be used more events separated by  `,` (e.g. "propertyChange", "change"). | 
callback |  | (data: EventData) => voidCallback function which will be executed when event is raised.  | 
thisArg |  | anyAn optional parameter which will be used as  `this` context for callback execution. | 
 Returns void
on(event: "submit", callback: (args: EventData) => void, thisArg?: any): void
Raised when a search bar search is submitted.
| Parameter | Default | Description | 
event |  | "submit" | 
callback |  | (args: EventData) => void | 
thisArg |  | any | 
 Returns void
- Previous
 - ScrollView
 - Next
 - SegmentedBar