Adding swipe behavior to Bootstrap's Carousel
Just include the library in your page and create the carousel components normally, as described in the official Bootstrap documentation. The swipe functionality will be added automatically to all carousels on the page as long as the browser supports the HTML5 touch events.
You can control the swipe sensitivity by passing the
swipe directive to the carousel