Skip to content

@gtkx/testing / queryAllByName

Function: queryAllByName()

queryAllByName(container, name, options?): Widget[]

Defined in: queries.ts:241

Finds all elements matching a widget name without throwing.

Parameters

ParameterTypeDescription
containerContainerThe container to search within
nameTextMatchWidget name to match (string, RegExp, or custom matcher)
options?TextMatchOptionsQuery options including normalization

Returns

Widget[]

Array of matching widgets (empty if none found)