()
| 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 | |
| 34 | customElements.define('search-box', SearchBox) |
nothing calls this directly
no outgoing calls
no test coverage detected