How to set a textarea target for KeyboardEvent with Backspace code, created myself?
For example, I can create an event like this:
new KeyboardEvent('keydown', { code: this.currId })
And I can add more and more properties so it would look more alike browser raised one.
But I don't know what property / ies to set for textarea targeting.
I saw event object in the browser console, but still found it a little bit hard to figure out the right one property.