Skip to content

Add Ability to Specify Arrows

Choose a tag to compare

@kcarmonamurphy kcarmonamurphy released this 29 Nov 16:36
· 107 commits to master since this release
  • carouselOptions now allows one to specify the image to be used for left and right arrows:
navArrows: {
    leftSvgUrl: `/src/assets/icons.svg#pointLeft`,
    rightSvgUrl: `/src/assets/icons.svg#pointRight`
}
  • updates to unit tests, some refactoring of internal code

Breaking changes

change

<div class="block slide {{#is ../activeSlideIndex scope.index}} active {{/is}}"
...

to

<div class="block slide {{#is ../activeSlideIndex scope.index}} active {{/is}} slide{{scope.index}}" 
...

in the stache file that is importing the tucows-donejs-carousel