Mobile on touchstart EVENT
Posted: Mon Apr 12, 2021 5:17 am
I have the logo with targeting to show a css menu when mouse over on default breakpoint.
and then I duplicated the same image and css menu to do the same on breakpoint but as there is no any mouseover or click on mobile so I am trying to use on touchstart and end to show and hide the css menu but it does not work for me.
Is that on touchstart and endtouch supposed to work for the mobile devices or what I am going to achieve?
Thanks in advance.
and then I duplicated the same image and css menu to do the same on breakpoint but as there is no any mouseover or click on mobile so I am trying to use on touchstart and end to show and hide the css menu but it does not work for me.
Is that on touchstart and endtouch supposed to work for the mobile devices or what I am going to achieve?
Thanks in advance.