A Carousel Component For Angular Using Material 2

angular-carousel-multiple-items

material2-carousel package is a carousel component for Angular using Material Design.

carousel for angular, angular 6 carousel multiple items, angular material carousel, angular 8 carousel slider example, angular responsive carousel example

How to make use of it:

Installation

npm install --save @ngmodule/material-carousel

Usage

//...
import { MatCarouselModule } from '@ngmodule/material-carousel';

@NgModule({
  // ...
  imports: [
    // ...
    MatCarouselModule.forRoot(),
    // ...
  ]
})
export class AppModule {}
import { MatCarousel, MatCarouselComponent } from '@ngmodule/material-carousel';
<mat-carousel>
  ...
</mat-carousel>

Attributes

InputTypeDescriptionDefault value
timingsstringTimings for slide animation.'250ms ease-in'
autoplaybooleanEnable automatic sliding.true
intervalnumberAutoplay’s interval in milliseconds.5000
loopbooleanEnable loop through arrows.true
hideArrowsbooleanHide navigation arrows.false
hideIndicatorsbooleanHide navigation indicators.false
colorThemePaletteColor palette from Material.'accent'
maxWidthstringMaximum width.'auto'
maintainAspectRatiobooleanIf true, use proportion to determine height, else slideHeight is used.true
proportionnumberHeight proportion compared to width.25
slideHeightstringExplicit slide height. Used when maintainAspectRatio is false.'100%'
slidesnumberMaximum amount of displayed slides. 
useKeyboardbooleanEnable keyboard navigation.true
useMouseWheelbooleanEnable navigation through mouse wheeling.false
orientationOrientationOrientation of the sliding panel.'ltr'
svgIconOverridesSvgIconOverridesOverride default carousel icons with registered SVG icons.

Carousel Component For Angular, Material Carousel Plugin/Github


See Demo And Download

Official Website(gbrlsnchs): Click Here

This superior jQuery/javascript plugin is developed by gbrlsnchs. For extra advanced usage, please go to the official website.