jquerymobile-swipeupdown
jquerymobile-swipeupdown copied to clipboard
custom jQuery mobile build
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
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.
I had a quick test myself. I only ticked the touch event as this was the only event I found in your code.
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.