MCPcopy Create free account
hub / github.com/TanStack/query / render

Method render

examples/lit/algolia/src/search-box.ts:19–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 }
18
19 render() {
20 return html`
21 <div>
22 <input
23 .value=${this.query}
24 placeholder="Search products"
25 @input=${(event: Event) =>
26 (this.query = (event.currentTarget as HTMLInputElement).value)}
27 />
28 <search-results .query=${this.debouncedQuery()}></search-results>
29 </div>
30 `
31 }
32}
33
34customElements.define('search-box', SearchBox)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected