mlms13 / Navtacular

A horizontal navigation bar with menus that doesn't depend on Javascript for core functionality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add swiping gestures

mlms13 opened this issue · comments

hammer.js would be a good option to help us with this. In particular, it would be cool to...

  • allow swiping from the left edge of the screen to open the menu
  • allow swiping left to close the menu
    • ideally the menu will move with your finger until you let go
    • when you let go, the menu should collapse if the gesture was a swipe or reset itself (smoothly, of course) if the gesture wasn't a swipe
    • try not to move the menu on incidental left-right touch movement
  • look at the Google Plus app for inspiration