From 3fcbcb3fe16c65ef745581ab4bfe947288f47aca Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Sun, 6 Sep 2020 18:26:27 +0000 Subject: [PATCH] Deploy website Deploy website version based on becc1ad1560878dea23a806e8d0ba44c20dc66dc --- docs/next/direct-manipulation.html | 83 ++++++++++++++++++++++-- docs/next/direct-manipulation/index.html | 83 ++++++++++++++++++++++-- 2 files changed, 152 insertions(+), 14 deletions(-) diff --git a/docs/next/direct-manipulation.html b/docs/next/direct-manipulation.html index 5df5e339903..42dfaf3ff80 100644 --- a/docs/next/direct-manipulation.html +++ b/docs/next/direct-manipulation.html @@ -248,16 +248,85 @@
  • width
  • height
  • -

    measureLayout(relativeToNativeNode, onSuccess, onFail)

    -

    Like measure(), but measures the view relative to an ancestor, specified as relativeToNativeNode. This means that the returned x, y are relative to the origin x, y of the ancestor view.

    -

    As always, to obtain a native node handle for a component, you can use findNodeHandle(component).

    -
    import { findNodeHandle } from 'react-native';
    -
    -

    focus()

    +

    measureLayout(relativeToNativeComponentRef, onSuccess, onFail)

    +

    Like measure(), but measures the view relative to an ancestor, specified with relativeToNativeComponentRef refrence. This means that the returned coordinates are relative to the origin x, y of the ancestor view.

    +
    +

    Note: This method can also be called with a relativeToNativeNode handler (instead of reference), but this variant is deprecated.

    +
    +

    focus()

    Requests focus for the given input or view. The exact behavior triggered will depend on the platform and type of view.

    blur()

    Removes focus from an input or view. This is the opposite of focus().

    -
    Native Modules SetupNative Modules