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