Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch Enabled Carousel #8907

Closed
saurabhdsachan opened this issue Jul 31, 2013 · 6 comments
Closed

Touch Enabled Carousel #8907

saurabhdsachan opened this issue Jul 31, 2013 · 6 comments

Comments

@saurabhdsachan
Copy link

http://getbootstrap.com/javascript/

is it possible to make it work when we swipe.

@cvrebert
Copy link
Collaborator

Related: #2468

@fat
Copy link
Member

fat commented Aug 1, 2013

yeah… we should probably add this for the next rc

@SerkanSipahi
Copy link

@fat do you write your own code or use a library?
I recommend this http://eightmedia.github.io/hammer.js :)

@fat
Copy link
Member

fat commented Aug 11, 2013

I'm having second thoughts on this…

Meanwhile, if you want swipe functionality i think you could just do something like this:

Hammer(el).on("swipeleft", function () {
  $(el).carousel('prev')
})

Hammer(el).on("swiperight", function () {
  $(el).carousel('next')
})

otherwise, my friend @bradbirdsall's swipe carousel is a pretty good option https://github.com/bradbirdsall/Swipe

@fat fat closed this as completed Aug 11, 2013
@saurabhdsachan
Copy link
Author

ok thank you

@ixisio
Copy link

ixisio commented Sep 18, 2013

drop in replacement for twbs carousel to enable gestures on touch devices:
https://github.com/ixisio/bootstrap-touch-carousel

have fun,
Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants