Alternatively, if you don't need to extend `HTMLEl...
# javascript
k
Alternatively, if you don't need to extend
HTMLElement
you can write a function
fun paperInputElement(...): HTMLElement
and use that.