Skip to content

Instantly share code, notes, and snippets.

@pavloo
Created June 23, 2014 16:09
Show Gist options
  • Save pavloo/7d869d2b71d1e0e0e5bb to your computer and use it in GitHub Desktop.
Save pavloo/7d869d2b71d1e0e0e5bb to your computer and use it in GitHub Desktop.
{{else}}
{{#view Teachertrainingv2.Carousel contentBinding="carouselCuepoints"}}
{{view view.itemsView}}
<a class="carousel-control left cur-ptr" data-slide="prev" {{action "previousSlide" target="view"}}>
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="carousel-control right cur-ptr" data-slide="next" {{action "nextSlide" target="view"}}>
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
<p class="text-center carousel-pos">
<code>{{view.currentCueIndex}} / {{carouselCuepoints.length}}</code>
</p>
{{/view}}
{{/if}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment