API Reference / @gtkx/testing / queryAllByName
Function: queryAllByName()
queryAllByName<
T>(container,name,options?):T[]
Defined in: packages/testing/src/queries.ts:452
Finds every widget whose widget name matches. Widgets that are not mapped are never matched.
Type Parameters
T
T extends Accessible = Widget
Parameters
container
Widget subtree to search.
name
Matcher for the widget name.
options?
Text matching options.
Returns
T[]
Every matching widget, or an empty array when none match.