JQM 1.3.1 click event slow - performance tips?
Hi,
A noticed that click event is very slow on
iPad2
so
I was searching if it's possible to get is faster. I found some threds on stackoverflow.com where they mension
touchstart.
I started implementing it on opening a
panel and result was pretty stunning.
2x faster..
Now I'am opening a panel using this code:
- $(document).on('click touchstart', '.button_open_menu', function(e){
e.preventDefault();
$( "#mypanel" ).panel( "open" );
});
});
Any more performance tips?
Thanks.