Join Slack
Communities
Powered by
And on the principle, why is there a need for such...
# javascript
s
sdeleuze
02/07/2019, 10:27 AM
And on the principle, why is there a need for such
((MessageEvent) -> dynamic)?
signature, why not just
MessageEvent -> Unit
?
a
anton.bannykh
02/07/2019, 12:29 PM
Apparently the return value controls whether the event is cancelled or not:
https://html.spec.whatwg.org/multipage/webappapis.html#eventhandler
2
Views
Open in Slack
Previous
Next