Is it possible somehow to add elements other than img to slides? Like, whole DIV container filled with other elements and data?
I'd like to create carousel slider which displays both images and clickable, interactive, HTML elements as slides (like tables, divs, canvas .etc), but couldn't find any hint how to do it and whether it's possible. Thx for eventual help :) W dniu wtorek, 12 marca 2013 18:13:48 UTC+1 użytkownik Pawel Kozlowski napisał: > > Hi! > > On Tue, Mar 12, 2013 at 6:08 PM, Matt Raible <[email protected] > <javascript:>> wrote: > > Does the Angular UI Carousel have a feature to hide the navigation > elements > > when there's only 1 element? > > Nope, not at the moment, but this would be trivial to do by changing a > template for the carousel: > > https://github.com/angular-ui/bootstrap/blob/master/template/carousel/carousel.html > > > > Or would you recommend doing this another way? > > I guess this is about dynamically generated slides, right? Otherwise > there is not much of the carousel with just one element :-) > > For now you can either modify a template (to ng-hide navigation based > on length of slides() call) or ... open an issue for this if you feel > like this should go to the core. > > Cheers, > Pawel > > > -- > Looking for bootstrap-based widget library for AngularJS? > http://angular-ui.github.com/bootstrap/ > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
