0.0.1 • Published 5 years ago

ng6-slider v0.0.1

Weekly downloads
4
License
-
Repository
-
Last release
5 years ago

sliderModule NPM version Build Status

Installation

$ npm install --save ng6-slider

Usage

  1. Import this in your app.module.ts file
	import {SliderModule} from "ng6-slider";
  1. Add the code <ng6-slider [products]="products" [productsToShow]="3"></ng6-slider> to your components html file

  2. Add 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