jquerymobile-swipeupdown icon indicating copy to clipboard operation
jquerymobile-swipeupdown copied to clipboard

custom jQuery mobile build

Open dbauszus opened this issue 8 years ago • 2 comments

Hi,

I am loving this library. I would like to keep the ammount of jquery to load at an minimum. Do you know which of the components from jQuery mobile builder are required for this library to work?

http://jquerymobile.com/download-builder/

Cheers, Dennis

dbauszus avatar Apr 13 '16 18:04 dbauszus

Hey @dbauszus,

I haven't maintained this project in a few years. I am glad you love the plugin, but unfortunately I haven't followed the changes to jquery mobile and do not have the answer to your question. I will leave this open in case someone else can answer for you.

blackdynamo avatar Apr 13 '16 18:04 blackdynamo

I had a quick test myself. I only ticked the touch event as this was the only event I found in your code.

capture

From this, the jQuery mobile (1.4.5) library builder selects the dependencies.

  • Namespace
  • Touch support test
  • Virtual Mouse (vmouse) Bindings

Voila! Your swipe code works a treat. The custom mobile library is 8k compared to the complete mobile library which comes at 196k.

More importantly. jQuery mobile messes up my mdl (material design lite) interface.

Here is the website I build with your swipe function. You can swipe up the menu from the arrow at the bottom.

https://geolytix.net/mobilemap

Need to put some function on the menu items themselves now.

dbauszus avatar Apr 14 '16 13:04 dbauszus