Adding some audio events to Element.Event #2520

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

This commit adds all Audio Events as mentioned here : http://www.w3.org/wiki/HTML/Elements/audio#Media_Events
I'm not sure of the Type for each of them (http://mootools.net/docs/core/Element/Element.Event#Element-NativeEvents) so I just put Type 2 for all. Help is welcome for that.

@ibolmo ibolmo added this to the 1.6 milestone Mar 3, 2014

@ibolmo ibolmo added the enhancement label Mar 3, 2014

👍 according to docs

The reason to differentiate between 1 and 2 is that 1 is usually used for events that don't have interesting data like: onload, onscroll, and onresize, or it's more performant. The latter two, for example, are fired frequently.

for timeupdate type 1 should be sufficient, also it is fired frequently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment