0.1.12 • Published 7 years ago
angular2carousel v0.1.12
Angular2Carousel
Overview
The Angular 2 carousel library
Description
The project focus is simple and beautiful user interface carousel for built on Angular web systems.
Demo
Requirement
- Angular 2
Usage
module.ts
import {Angular2CarouselModule} from 'angular2carousel';
imports: [
Angular2CarouselModule
]
component.ts
images = [
{
img: './assets/img/knhyaki.png',
caption: 'KNH Yaki'
},
{
img: './assets/img/1000trilliondollar.png',
caption: '5000 trillion dollars'
}
];
component.html
<ng2-carousel [images]="images"></ng2-carousel>
Install
npm
npm install angular2carousel
yarn
yarn add angular2carousel