Prop Default Description
itemsToShow 1 count of items to showed per view (can be a fraction).
itemsToSlide 1 count of items to slide when use navigation buttons.
initialSlide 0 index number of initial slide.
infiniteScroll false enable infinite scrolling mode.
centerMode false enable center mode.
vertical false enable vertical sliding mode.
rtl false enable rtl mode.
mouseDrag true toggle mouse dragging.
touchDrag true toggle touch dragging.
wheelControl false toggle mouse wheel sliding.
keysControl false toggle keyboard control.
shortDrag true enable any move to commit a slide.
autoPlay false enable auto sliding to carousel.
playSpeed 3000 speed of auto play to trigger slide in ms.
transition 300 sliding transition time in ms.
sync '' sync two carousels to slide together.
settings { } an object to pass all settings.


Hooper accept two different slots, default slots for slides items, addons slot for addons components.

default slot

<hooper vertical="true" style="height: 400px" :itemsToShow="1.5" :centerMode="true">
    slide 1
    slide 2
    slide 3
    slide 4
    slide 5
    slide 6

addon slot

  <hooper-navigation slot="hooper-addons"></hooper-navigation>
  <hooper-progress slot="hooper-addons"></hooper-progress>
  <hooper-pagination slot="hooper-addons"></hooper-pagination>



  • index: index number of slide

Go to slide with index number equal to 'index' parameter passed to the function.


Go to next slide.


Go to previous slide.


This method responsible update all the slide and configurations computations, it calls typically after each view-port size change.

You should call it after you add/remove slides manually, or after you hide/show it, or do any custom DOM modifications with Hooper element.

This method calls the following methods which you can use separately:


Recalculate size of Hooper container, and its slides elements.

hooper.updateSlidesStatus()decprecated in v0.1.0

Update active classes on slides, and aria-hidden attribute.


Recalculate breakpoints configurations.


Restart hooper's slides, this function should be triggered, when add/remove hooper slides dynamically.


Restart auto-play timer.



Emits before sliding start occurring.

payload: currentSlide: the current slide index slideTo: the slide index, that will go to


Emits after sliding occur.

payload: currentSlide: the current slide index slideFrom: the slide index, that carousel slide from


Emits after sliding and transition finished, and isSliding flag set to false.

payload: currentSlide: the current slide index


Emits after update functions finished. payload:

containerWidth: current carousel width containerHeight: current carousel height slideWidth: current slide width slideHeight: current slide height settings: current settings object