Skip to content

API Reference / @gtkx/testing / queryAllByDisplayValue

Function: queryAllByDisplayValue() ​

queryAllByDisplayValue<T>(container, value, options?): T[]

Defined in: packages/testing/src/queries.ts:494

Finds every widget whose current display value matches. Widgets that are not mapped are never matched.

Type Parameters ​

T ​

T extends Accessible = Widget

Parameters ​

container ​

Container

Widget subtree to search.

value ​

Matcher

Matcher for the display value.

options? ​

MatcherOptions<T>

Text matching options.

Returns ​

T[]

Every matching widget, or an empty array when none match.