-
Notifications
You must be signed in to change notification settings - Fork 139
Consider new names for addEventListener and removeEventListener #18
Comments
|
Well, |
We've got some aggressive goals in chromium to make measurable progress on the event-handler jank problem this quarter (i.e. shipping in chromium 46 or 47). In particular we see this as a big issue in emerging markets where low power devices are only becoming more popular. But you probably shouldn't need to care about our goals here - just trying to explain the urgency from my perspective. |
Since nobody in (@domenic, @bzbarsky, @smaug----) seemed concerned, I guess it'd be okay with the third argument overload and postponing the more major changes and renaming. What would help me if the proposal was instead done as a set of changes to the algorithms in the DOM Standard. Currently the implications to the processing model are rather vague. |
Great! I can take a crack at a pull request for that when I'm back (~2
|
If we had completely new method names, it would make feature detection simpler (possibly addressing #16). Also people aren't in love with "addEventListener", maybe now is a good time to change?
@annevk suggests just
on
andoff
.The text was updated successfully, but these errors were encountered: