Permalink
Browse files

fix(carousel): minor fixes

  • Loading branch information...
pi0 committed Aug 11, 2017
1 parent 8c59fd6 commit 6b4f49790645af89aced04b2dc904f770d26268e
Showing with 3 additions and 2 deletions.
  1. +2 −2 docs/components/carousel/README.md
  2. +1 −0 lib/components/carousel.vue
@@ -21,7 +21,7 @@ controls and indicators.
<b-carousel-slide caption="First slide"
text="Nulla vitae elit libero, a pharetra augue mollis interdum."
img="https://lorempixel.com/1024/480/technics/2/"
/>
></b-carousel-slide>

<!-- Slides with custom text -->
<b-carousel-slide img="https://lorempixel.com/1024/480/technics/4/">
@@ -46,7 +46,7 @@ controls and indicators.
<p class="mt-4">
Slide #: {{ slide }}<br>
Sliding: {{ sliding }}
<p>
</p>

</div>
</template>
@@ -57,6 +57,7 @@
:aria-owns="(indicators && id) ? (id + '__BV_inner_') : null"
>
<li v-for="n in slides.length"
:key="'slide_' + n"
role="button"
:id="id ? (id + '__BV_indicator_' + n + '_') : null"
:tabindex="indicators ? '0' : '-1'"

0 comments on commit 6b4f497

Please sign in to comment.