Skip to content

Commit

Permalink
Enable initial slide + scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 24, 2017
1 parent ea44231 commit 2f9b44c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,15 @@
<script>
var swiper = new Swiper({
el: '.swiper-container',
initialSlide: 2,
spaceBetween: 50,
slidesPerView: 2,
centeredSlides: true,
slideToClickedSlide: true,
grabCursor: true,
scrollbar: '.swiper-scrollbar',

scrollbar: {
el: '.swiper-scrollbar',
},
mousewheel: {
enabled: true,
},
Expand Down

0 comments on commit 2f9b44c

Please sign in to comment.