jQuery on() method compatibility

Jan 14, 2014 at 4:19 PM

if i'm well understanding your polyfill behavior, you overload the addEventListener method.
When i'm using jQuery width the on() method, my events are correctly binding but i do not have in the return all the datas (mouseX, pointerType ...) i would need.

Do you know if there is a way to use your code with the jquery methods and having the full return ?

Thanks a lot !
Jan 14, 2014 at 4:25 PM
Hello again !
I'm sorry, i just needed to access to the originalEvent inside my jQuery object .

Thanks a lot !
Jan 14, 2014 at 4:26 PM
Lol, I was just about to tell you that:)