-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What are the event.type strings? #245
Comments
@martijnthe yes, spec is missing section that describes event handlers. I will take a look at it. |
Does that means there is no |
@jiangzidong Specification always had both, EventHandler properties as well as EventTarget interface with corresponding eventtypes. Edit: There are no plans to remove EventHandler properties. |
Right, basically this hasn't been done because there was still enough churn that it made some sense to let the naming of events settle before doing all the work to write up the spec prose. |
I looking at the test suite in the hope of finding out answers but, I don't see
sensor.addEventListener(...)
being used there...There was some discussion here, but it's unclear to me from the spec doc what various the
Event
'stype
strings are supposed to be. In case one wants to use theEventTarget
interface instead of theonreading
, etc. properties this is quite important 😄 It would be nice if this could be documented more clearly and also be added to the test cases.cc @jiangzidong
The text was updated successfully, but these errors were encountered: