Open shoonia opened 4 years ago
When I use event.target on handler action, the types don't find the properties
event.target
for example:
$w('#myCheckbox').onChange((event) => { if (event.target.checked) { // <<< here // do ... } else { // do ... } });
I see an ts error
Property 'checked' does not exist on type 'Element'.ts(2339)
Thanks!
When I use
event.target
on handler action, the types don't find the propertiesfor example:
I see an ts error
Thanks!