|
@@ -135,7 +135,7 @@ Navigation.events().registerNavigationButtonPressedListener(({ buttonId }) => {
|
135
|
135
|
|:-:|:--|
|
136
|
136
|
|**buttonId**|`buttonId`: `id` of the pressed button|
|
137
|
137
|
|
138
|
|
-## onSearchBarUpdated (iOS 11+ only)
|
|
138
|
+## searchBarUpdated (iOS 11+ only)
|
139
|
139
|
Called when a SearchBar from NavigationBar gets updated.
|
140
|
140
|
|
141
|
141
|
```js
|
|
@@ -145,13 +145,13 @@ class MyComponent extends Component {
|
145
|
145
|
Navigation.events().bindComponent(this);
|
146
|
146
|
}
|
147
|
147
|
|
148
|
|
- onSearchBarUpdated({ query, isFocused }) {
|
|
148
|
+ searchBarUpdated({ text, isFocused }) {
|
149
|
149
|
|
150
|
150
|
}
|
151
|
151
|
}
|
152
|
152
|
```
|
153
|
153
|
|
154
|
|
-## onSearchBarCancelPressed (iOS 11+ only)
|
|
154
|
+## searchBarCancelPressed (iOS 11+ only)
|
155
|
155
|
Called when the cancel button on the SearchBar from NavigationBar gets pressed.
|
156
|
156
|
|
157
|
157
|
```js
|
|
@@ -161,7 +161,7 @@ class MyComponent extends Component {
|
161
|
161
|
Navigation.events().bindComponent(this);
|
162
|
162
|
}
|
163
|
163
|
|
164
|
|
- onSearchBarCancelPressed() {
|
|
164
|
+ searchBarCancelPressed() {
|
165
|
165
|
|
166
|
166
|
}
|
167
|
167
|
}
|