Skip to content

API Reference / @gtkx/testing / queryAllByDisplayValue

Function: queryAllByDisplayValue() ​

queryAllByDisplayValue(container, value, options?): Widget[]

Defined in: packages/testing/dist/queries.d.ts:215

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

Parameters ​

container ​

Container

Widget subtree to search.

value ​

Matcher

Matcher for the display value.

options? ​

MatcherOptions

Text matching options.

Returns ​

Widget[]

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