touchstrat and mouse event


hi, quesation touchstart , mouse event.

if want have animation on web , ipad, need 2 seperat files.
one mouse event (web)

and 1 ipad (touchstart)

 

thanks,

ton

hi, ton-

 

not necessarily.  can call e.preventdefault() on touch event if fires, generally fires before click event fires.  you're setting race condition.  if choose not use touch events, file still work, mobile browsers support click event.  however, click performance pretty poor on touch devices.

 

hopefully helps in making decisions how want handle it!

 

-elaine



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support