# ng2-background-slider

> Slider module based on angular-cli and @angular/animation

Latest version **0.1.1** (published 2017-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install ng2-background-slider
pnpm add ng2-background-slider
yarn add ng2-background-slider
bun add ng2-background-slider
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2017-10-24 |
| First published | 2017-10-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | tonytekk |

## Links

- npm: https://www.npmjs.com/package/ng2-background-slider
- npm.io page: https://npm.io/package/ng2-background-slider

## Recent versions

- 0.1.1 (latest) — 2017-10-24
- 0.0.1 — 2017-10-19

## README

## ng2-background-slider
Slider module based on angular-cli and @angular/animation 

## install
`npm i ng2-background-slider`

## import
`import { BackgroundSliderModule } from 'ng2-background-slider';`

## use
html: <br>
  `<background-slider #slider class="container" [images]="images"></background-slider>`<br>
  `<button (click)="slider.next()">Next</button><button (click)="slider.prev()">Prev</button>`
 
css: <br>
  `.container {
      display: block;
      width: 100%;
      height: 500px;
  }`
  
input: <br>
  `images = [
      './assets/slide1.jpg',
      './assets/slide2.jpg',
      './assets/slide3.jpeg'
  ];`
##

---
_Source: https://npm.io/package/ng2-background-slider · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
