T

NativeViewSearchOptions

Limits and direction for a breadth-first findViews search; larger limits are clamped.

type NativeViewSearchOptions = { … }

Members

Matches only views attached to a window.

direction?"ancestors" | "descendants"

ancestors walks up the superview chain instead of down. Defaults to descendants.

maxDepth?number

How many levels to walk from the root. Defaults to 24, at most 128.

How many matches to return. Defaults to 64, at most 256.

How many views to visit. Defaults to 512, at most 8,192.

Skips the views beneath a match.