angular-carousel-slider
v0.0.4
Published
> INSTALLATION
Downloads
6
Readme
Angular Carousel Slider
INSTALLATION
npm i angular-carousel-slider
import { CarouselSlider } from 'angular-carousel-slider';
USAGE
TS FILE:
public sliders: Slider[] = [
{
title: 'Women Collection 2021',
subtitle: 'NEW SEASON',
buttonText: 'SHOP NOW',
buttonLink: '#',
image: 'https://danielolaru-1991.web.app/assets/images/slide-01.jpeg'
},
{
title: 'Men Collection 2021',
subtitle: 'NEW ARRIVALS',
buttonText: 'SHOP NOW',
buttonLink: '#',
image: 'https://danielolaru-1991.web.app/assets/images/slide-03.jpeg'
},
{
title: 'Men New Season',
subtitle: 'JACKETS & COATS',
buttonText: 'SHOP NOW',
buttonLink: '#',
image: 'https://danielolaru-1991.web.app/assets/images/slide-02.jpeg'
}
]
HTML:
<carousel-slider [sliders]="sliders"></carousel-slider>
DEMO: https://angular-libs-showcase.web.app/carousel-slider