T
NativeViewSearchOptions
Limits and direction for a breadth-first findViews search; larger limits are clamped.
type NativeViewSearchOptions = { … }Members
attachedOnly?
booleanMatches only views attached to a window.
direction?
"ancestors" | "descendants"ancestors walks up the superview chain instead of down. Defaults to descendants.
maxDepth?
numberHow many levels to walk from the root. Defaults to 24, at most 128.
maxResults?
numberHow many matches to return. Defaults to 64, at most 256.
maxVisited?
numberHow many views to visit. Defaults to 512, at most 8,192.
stopAtMatch?
booleanSkips the views beneath a match.