mirror of
https://github.com/status-im/react-native-webview.git
synced 2025-02-23 01:08:36 +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)
|
||||
- [`clearCache`](Reference.md#clearCache)
|
||||
- [`clearHistory`](Reference.md#clearHistory)
|
||||
|
||||
- [`requestFocus`](Reference.md#requestFocus)
|
||||
---
|
||||
|
||||
# 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.
|
||||
|
||||
### `requestFocus()`
|
||||
|
||||
```javascript
|
||||
requestFocus();
|
||||
```
|
||||
|
||||
Request the webView to ask for focus. (People working on TV apps might want having a look at this!)
|
||||
|
||||
### `clearFormData()`
|
||||
(android only)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user