Need a library for tracking swipe-events (swipeleft and swiperight). I connected jquery mobile and it works fine, but for some reason, I rewrite css styles to my own, thus breaking the layout. Prompt a simple library for swipe-events.

  • one
    Well, in general, you can simply not connect css styles from JQuery UI .... just leave js and you will be happy. And the second point - connect your styles AFTER you connect all the modules. Then it will be your css that will be overwritten by strangers - alexoander
  • Well, I basically did not connect jquery-mobile.css. this is the problem that the .js library file itself changes some styles. But I didn’t think about connecting my own styles afterwards) - I’ll try - Al Mr
  • If the lib itself changes the styles, then they are exactly indicated on the docks. And there are not so many of them (just for swipe), so you can cover them with your own styles - alexoander

0