ng6-slider
v0.0.1
Published
Downloads
7
Maintainers
Readme
sliderModule
Installation
$ npm install --save ng6-slider
Usage
- Import this in your app.module.ts file
import {SliderModule} from "ng6-slider";
Add the code
<ng6-slider [products]="products" [productsToShow]="3"></ng6-slider>
to your components html fileAdd the Code
products:any=[
{
name:"p1",
price:2,
image:"https://images-na.ssl-images-amazon.com/images/I/71KjfWD%2ByeL._SL1500_.jpg",
link:"/home",
linkName:"click",
inStock:3,
description:"some description"
},
]
to components ts file as this will provide the details of elemets to be displayed .
For More details
See my git account (http://github.com/awinashjaiswal/ng6-slider)
License
MIT © Awinash Kumar Jaiswal