Use vclick instead of click in jQuery when developing mobile apps!

Words
87
Reading
1 min
8y
Listen to this post
~1 min

Coding-aeon.png

If you use the function .click in jQuery it usually work smoothly in desktop browsers, however in mobile browsers there is a 300ms delay which seems to be not that much, however it can render your app really sluggish.

$(".whateverclass").click( function {
....
... });

That is why you should use .vclick which eliminates this delay, resulting in very quick responses on mobile browsers and apps.

$(".whateverclass").**v**click( function {
....
... });

Once more, in the IT world a single character is making a huge difference!

Thank you! Stay tuned for more coding tips, tricks and much more!

resh aquasummit.png

Use vclick instead of click in jQuery when developing mobile apps! | Ecency