diff --git a/releases/next/docs/nativemethodsmixin.html b/releases/next/docs/nativemethodsmixin.html index 57d19e94ff3..b9f6f3aa587 100644 --- a/releases/next/docs/nativemethodsmixin.html +++ b/releases/next/docs/nativemethodsmixin.html @@ -10,7 +10,12 @@ returns the values via an async callback. If successful, the callback will be called with the following arguments:

Note that these measurements are not available until after the rendering has been completed in native. If you need the measurements as soon as possible, consider using the onLayout -prop instead.

static measureLayout(relativeToNativeNode: number, onSuccess: MeasureLayoutOnSuccessCallback, onFail: () => void) #

Like measure(), but measures the view relative an ancestor, +prop instead.

static measureInWindow(callback: MeasureInWindowOnSuccessCallback) #

Determines the location of the given view in the window and returns the +values via an async callback. If the React root view is embedded in +another native view, this will give you the absolute coordinates. If +successful, the callback will be called be called with the following +arguments:

Note that these measurements are not available until after the rendering +has been completed in native.

static measureLayout(relativeToNativeNode: number, onSuccess: MeasureLayoutOnSuccessCallback, onFail: () => void) #

Like measure(), but measures the view relative 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 React.findNodeHandle(component).

static setNativeProps(nativeProps: Object) #

This function sends props straight to native. They will not participate in