Edit these docs Rate these docs

Vue Bootstrap MobileMDB Pro component

Vue Mobile - Bootstrap 4 & Material Design

Vue Bootstrap mobile gestures are touch-based interactions with mobile devices. Various of different fingers movements indicate particular components responses.

MDB provides you support for most common touch gestures.

Pan gesture
Rotate gesture
Press gesture
Tap gesture
Swipe gesture
Pinch gesture

Carousel with gestures support

Mobile - Material Design for Bootstrap

Click on the button below to launch a live example and see the Carousel with a gestures support in action.

Live preview

To make it work, use the prop touch together with one of MDB carousel components.


        <template>
          <mdb-container>
            <mdb-carousel :interval="false" touch showIndicators>
              <mdb-carousel-item img src="https://mdbootstrap.com/img/Photos/Slides/img%20(68).jpg" mask="black-light" alt="First slide" />
              <mdb-carousel-item img src="https://mdbootstrap.com/img/Photos/Slides/img%20(6).jpg" mask="black-strong" alt="Second slide" />
              <mdb-carousel-item img src="https://mdbootstrap.com/img/Photos/Slides/img%20(9).jpg" mask="black-slight" alt="Third slide" />
            </mdb-carousel>
          </mdb-container>
        </template>
      

        <script>
          import { mdbCarousel, mdbCarouselItem, mdbContainer } from 'mdbvue';
          export default {
            name: 'MobilePage',
            components: {
              mdbCarousel,
              mdbCarouselItem,
              mdbContainer
            }
          }
        </script>
      

Install MDB CLI
It's the fastest way to create and host MDB projects
Free Download