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.
1 parent 59e4cb2 commit c1c8cc2Copy full SHA for c1c8cc2
examples/markdown.html
@@ -0,0 +1 @@
1
+<p>Hi</p>
index.js
@@ -38,9 +38,9 @@ class RemoteInputElement extends HTMLElement {
38
input.removeEventListener('input', this.debounceInputChange)
39
}
40
41
- get input(): ?HTMLInputElement {
+ get input(): ?(HTMLInputElement | HTMLTextAreaElement) {
42
const input = this.querySelector('input, textarea')
43
- return input instanceof HTMLInputElement ? input : null
+ return input instanceof HTMLInputElement || input instanceof HTMLTextAreaElement ? input : null
44
45
46
get resultsContainer(): ?HTMLElement {
0 commit comments