mirror of
https://github.com/status-im/react-native-webview.git
synced 2025-02-23 09:18:38 +00:00
chore(docs): Document request focus method
This commit is contained in:
parent
4c2feefbcc
commit
ef5c36c88e
@ -73,7 +73,7 @@ This document lays out the current public properties and methods for the React N
|
|||||||
- [`clearFormData`](Reference.md#clearFormData)
|
- [`clearFormData`](Reference.md#clearFormData)
|
||||||
- [`clearCache`](Reference.md#clearCache)
|
- [`clearCache`](Reference.md#clearCache)
|
||||||
- [`clearHistory`](Reference.md#clearHistory)
|
- [`clearHistory`](Reference.md#clearHistory)
|
||||||
|
- [`requestFocus`](Reference.md#requestFocus)
|
||||||
---
|
---
|
||||||
|
|
||||||
# Reference
|
# Reference
|
||||||
@ -1111,6 +1111,14 @@ Executes the JavaScript string.
|
|||||||
|
|
||||||
To learn more, read the [Communicating between JS and Native](Guide.md#communicating-between-js-and-native) guide.
|
To learn more, read the [Communicating between JS and Native](Guide.md#communicating-between-js-and-native) guide.
|
||||||
|
|
||||||
|
### `requestFocus()`
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
requestFocus();
|
||||||
|
```
|
||||||
|
|
||||||
|
Request the webView to ask for focus. (People working on TV apps might want having a look at this!)
|
||||||
|
|
||||||
### `clearFormData()`
|
### `clearFormData()`
|
||||||
(android only)
|
(android only)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user