ga-wdi-boston / jquery-dom

Other
0 stars 139 forks source link

Change events listed in demo #26

Open raq929 opened 8 years ago

raq929 commented 8 years ago

In the .on() demo, 'hover' is listed as an option. It seems to have been deprecated, so we shouldn't list it. http://stackoverflow.com/questions/15912192/hover-doesnt-appear-to-be-working

raq929 commented 8 years ago

Does anyone know of a definitive list of events that .on() handles? I can't seem to find one on jQuery documentation.

BenGitsCode commented 7 years ago

I can't find one either @raq929 but everything I'm seeing seems to suggest that hover has been deprecated in favor of mousenter: and mouseleave: e.g. https://learn.jquery.com/events/handling-events/#many-events-and-handlers I can't even find for handling >=2 handlers and hover only works for single? I'm having trouble finding helpful info on this too and the jquery deprecation list says nothing about hover anywhere 🤔

gaand commented 7 years ago

Mos of the events jQuery handles (other than custom events) are the events that the Vanilla Web API supports. So, start by looking here.