Panel: slide drag and snap back
Hello guys, i'm tryiing to developing a plugin to jquerymobile to close the panel sliding the main content to the side where it is open. There's a example what i'm doing here:
I have some quests:
- How could i know if swipe is left or rigth using the $.event.special.swipe.stop, i've been trying using $.event.special.swipeleft.stop or $.event.special.swiperight.stop, but they not exists.
- How could i manage if the content is on the limit of the page?
Thanks!