Skip to content

Commit

Permalink
feat(carousel): update navigation & docs
Browse files Browse the repository at this point in the history
  • Loading branch information
toddlawton committed Feb 14, 2017
1 parent c9ced1e commit 046c954
Show file tree
Hide file tree
Showing 10 changed files with 2,058 additions and 13 deletions.
4 changes: 2 additions & 2 deletions dist/vue-carousel.min.js

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions docs/source/api/index.md
Expand Up @@ -79,11 +79,32 @@ Size of each pagination dot. Pixel values are accepted.

Configure the navigation component (next/prev buttons)

### navigationClickTargetSize

Amount of padding to apply around the label in pixels

* **Type**: `Number`
* **Default**: `8`

### navigationEnabled

* **Type**: `Boolean`
* **Default**: `false`

### navigationNextLabel

Text content of the navigation next button

* **Type**: `String`
* **Default**: ``

### navigationPrevLabel

Text content of the navigation prev button

* **Type**: `String`
* **Default**: ``

## Pagination

Configure the pagination component (clickable page dots)
Expand Down
2 changes: 1 addition & 1 deletion docs/themes/vue/layout/index.ejs
Expand Up @@ -34,7 +34,7 @@
var slideTpl = '';
images.forEach(function(img) {
slideTpl += '<slide><img src="' + img + '" /></slide>';
slideTpl += '<slide><img style="width: 100%" src="' + img + '" /></slide>';
});
new Vue({
Expand Down
4 changes: 2 additions & 2 deletions docs/themes/vue/source/js/vue-carousel.min.js

Large diffs are not rendered by default.

0 comments on commit 046c954

Please sign in to comment.