Angular 4 - Simple carousel
A simple carousel component you can use in your own projects, made with Angular 4
Quick start
First clone this repo: git clone https://github.com/jeroenouw/Angular4SimpleCarousel.git
.
Change directory to this project
Run npm install
to install all the dependencies.
Run npm start
or ng serve
to run this project.
Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
To build the project run npm run build
.
Development
- All images are in
./src/assets/img
. - To add images to the carousel, add the path in
simple-carousel.component.ts
. - When changing the amount of images, please change the
width
insimple-carousel.component.scss
.