Preview 2.0 is now in Public Beta!
Read the Announcement
SearchBar

Summary

Constructors

constructor

Properties

android
clearEvent
hint
ios
submitEvent
text
textFieldBackgroundColor
textFieldHintColor
162 properties inherited from View
Click to expand

Methods

dismissSoftInput
on
125 methods inherited from View
Click to expand

Constructors

constructor

new SearchBar(): SearchBar

Properties

textFieldBackgroundColor

textFieldBackgroundColor: Color

textFieldHintColor

clearEvent

Static

submitEvent

Static

Methods

dismissSoftInput

dismissSoftInput(): void

on

on(eventNames: string, callback: (data: EventData) => void, thisArg?: any): any
Parameter Default Description
eventNames
string

callback
(data: EventData) => void

thisArg
any

Returns any
on(event: "submit", callback: (args: EventData) => void, thisArg?: any): any
Parameter Default Description
event
"submit"

callback
(args: EventData) => void

thisArg
any

Returns any
on(event: "close", callback: (args: EventData) => void, thisArg?: any): any
Parameter Default Description
event
"close"

callback
(args: EventData) => void

thisArg
any

Returns any
Previous
ScrollView