reactlynx-testing-library / getQueriesForElement

Function: getQueriesForElement()

function getQueriesForElement<QueriesToBind, T>(element: HTMLElement, queriesToBind?: T): BoundFunctions<T>

Type Parameters

Type Parameter Default type
QueriesToBind extends Queries typeof queries
T extends Queries QueriesToBind

Parameters

Parameter Type
element HTMLElement
queriesToBind? T

Returns

BoundFunctions<T>

Defined in

index.d.ts:686

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.