From ef5c36c88e19cc9d22fa25af753699df1942b23a Mon Sep 17 00:00:00 2001 From: Thibault Malbranche Date: Wed, 13 Nov 2019 10:43:25 +0100 Subject: [PATCH] chore(docs): Document request focus method --- docs/Reference.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/Reference.md b/docs/Reference.md index df50211..53135e2 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -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)