Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cowgp/xui-touchSwipe

port of jquery touchSwipe plugin to XUI
https://github.com/cowgp/xui-touchSwipe

Last synced: 3 days ago
JSON representation

port of jquery touchSwipe plugin to XUI

Awesome Lists containing this project

README

        

Port of TouchSwipe JQuery plugin to be used with XUI instead of JQuery.

Info on TouchSwipe can be found here:
http://labs.skinkers.com/touchSwipe/

Documentation on options for TouchSwipe on it's website remain relevant so please refer there.

example implementation:
----------------------------------------------
function init ()
{
var swipeOptions=
{
swipeStatus:swipeStatus,
swipeLeft:slidePagesLeft,
swipeRight:slidePagesRight,
triggerOnTouchEnd:true,
threshold:75,
allowPageScroll:"auto"
};

x$(".mainContent").swipe( swipeOptions );

}