4 ms·
That's handled by shadow dom event retargeting. When the events pass over the boundary of the component the target becomes the component itself instead of the i
by esprehn 4y ago
That's handled by shadow dom event retargeting. When the events pass over the boundary of the component the target becomes the component itself instead of the input.
- logankeenan 4y agoYea, that’s been my biggest problem. The target is now different, so I can’t call event.target.value
- esprehn 4y agoRight, if you want `value` to be part of the public interface of your component you need to add a value property to expose it.