Skip to content

Commit

Permalink
feat(carousel): update examples, change default autoplay hover prop
Browse files Browse the repository at this point in the history
  • Loading branch information
toddlawton committed Feb 14, 2017
1 parent bd76d2c commit 30e60cd
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/vue-carousel.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/db.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/public
Submodule public updated from ae6f2a to 40e72b
14 changes: 13 additions & 1 deletion docs/source/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,22 @@ Instead of scrolling on a per item basis, the carousel will scroll the configure

<script async src="//jsfiddle.net/toddlawton/6ckc1pqv/embed/result,js/"></script>

## Autoplay

The carousel will auto-advance slides unless the carousel is hovered upon.

<script async src="//jsfiddle.net/toddlawton/n1argwgg/embed/result,js/"></script>

## Navigation

Buttons added to advance the carousel in either direction.

<script async src="//jsfiddle.net/toddlawton/46wegz8a/embed/result,js/"></script>

## Customized

Customized pagination dot colors and sizes. Customized speed and easing.

<script async src="//jsfiddle.net/toddlawton/ycp9bwhp/embed/result,js/"></script>

<style type="text/css">iframe { min-height: 230px; }</style>
<style type="text/css">iframe { max-height: 230px; }</style>
2 changes: 1 addition & 1 deletion docs/themes/vue/source/js/vue-carousel.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/mixins/autoplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const autoplay = {
*/
autoplayHoverPause: {
type: Boolean,
default: false,
default: true,
},
},
data() {
Expand Down

0 comments on commit 30e60cd

Please sign in to comment.