NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration
Dig in
ts
function querySelectorAll(view: ViewBase, selector: string): ViewBase[];

Defined in: ui/core/view-base/index.ts

Gets a child view by selector.

Parameters

ParameterTypeDescription
viewViewBaseThe parent (container) view of the view to look for.
selectorstringThe selector of the view to look for. Returns an instance of a view (if found), otherwise undefined.

Returns

ViewBase[]