static measureLayout(relativeToNativeNode, onSuccess, onFail)
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)
.
Please login to continue.