We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
this
1 parent ee5c8d5 commit 83a1eabCopy full SHA for 83a1eab
src/index.ts
@@ -3,7 +3,7 @@ const states = new WeakMap()
3
class RemoteInputElement extends HTMLElement {
4
constructor() {
5
super()
6
- const fetch = fetchResults.bind(this, this, true)
+ const fetch = fetchResults.bind(null, this, true)
7
const state = {currentQuery: null, oninput: debounce(fetch), fetch}
8
states.set(this, state)
9
}
0 commit comments