Image carousel component
Bug, feature request, or proposal:
Proposal
What is the expected behavior?
Carousel component is a slideshow for cycling through a series of images.
Features :
- Fit images inside carousel slide by maintaining aspect ratio
- Place image at the center of the slide (Looks good if the image is too small compare to slide)
- Navigation control to change the slide
- View indicators to show current slide, total no of slides
- Loop variable to handle whether to allow slide change in loop
- Autoplay of slides. Autoplay should stop on user interactivity
- Slide change on mouse scroll on slides
Carousel takes following inputs, slides : array of object contains image path,alt text and caption for the image slideHeight : Carousel slide height slideWidth : Carousel slide width startIndex : index number to show perticular slide onload of carousel (Optional) view : slide indicators (Fraction, Dots and None) loop : allows infinite slide scrolling (Optional) show/hide nav control (Optional) autoplay (Optional) Mouse scroll slide change (Optional)
Methods: showPrevSlide() showNextSlide() showSlide(index)
Events: slideChange slideClick autoplayStart autoplayStop
Is there anything else we should know?
Can I get design principle for the Carousel component?
I have taken care of the above features. Can't I contribute in building this for Angular material?
Hope is like: http://idangero.us/swiper/demos/#.WWSMLoVOJaQ
https://github.com/angular/material2/issues/1081
We have no plans to add any kind of carousel component.
how can you compete with bootstrap then
is there any reason to not to add one ?
I'm using Swiper, but a carousel based on CDK touch events would be like MUCH smaller in bundle size than Swiper.
@pranaymokal Bootstrap's carousel is bulls**it, owlCarousel works and looks better with Bootstrap than their own.
@jelbourn not even any kind of CDK helper for building one?
You get carousel if you hide tab-header in tab control (keeping tab body only).
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.