# ngx-loop-scroll

> A simple Angular library to create infinitely scrolling items in a loop. This library offers a seamless looping scroll experience for your Angular projects.

Latest version **0.0.10** (published 2023-09-13) · 0 weekly downloads

## Install

```sh
npm install ngx-loop-scroll
pnpm add ngx-loop-scroll
yarn add ngx-loop-scroll
bun add ngx-loop-scroll
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.10 |
| Published | 2023-09-13 |
| First published | 2023-09-11 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 88.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | koushik_b |

## Links

- npm: https://www.npmjs.com/package/ngx-loop-scroll
- Repository: https://github.com/koushik-boinepally/ngx-loop-scroll
- Homepage: https://github.com/koushik-boinepally/ngx-loop-scroll#readme
- Issues: https://github.com/koushik-boinepally/ngx-loop-scroll/issues
- npm.io page: https://npm.io/package/ngx-loop-scroll

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.3.0

## Recent versions

- 0.0.10 (latest) — 2023-09-13
- 0.0.9 — 2023-09-12
- 0.0.8 — 2023-09-12
- 0.0.7 — 2023-09-11
- 0.0.6 — 2023-09-11
- 0.0.5 — 2023-09-11
- 0.0.4 — 2023-09-11
- 0.0.3 — 2023-09-11
- 0.0.2 — 2023-09-11
- 0.0.1 — 2023-09-11

## README

# ngx-loop-scroll

A simple Angular library to create infinitely scrolling items in a loop. This library offers a seamless looping scroll experience for your Angular projects.

## Demo
A live demo can be found [here](https://stackblitz.com/edit/stackblitz-starters-pevwdv). 

## Installation
```bash
npm install ngx-loop-scroll --save
```

## Usage
Simply wrap your list of items inside the `ngx-loop-scroll` component:

```html
<ngx-loop-scroll direction="right" [height]="250">
    <div *ngFor="let item of items; let i = index;" class="item">
        <div>{{i}}</div>
    </div>
</ngx-loop-scroll>
```

### Parameters:

- **direction** (Required): The direction in which the items should scroll. Accepts values 'left' or 'right'.
- **height** (Required): The height of the scrolling area. This should be given as a binding.
- **[autoplay]** (Optional): Set this to `true` to enable autoplay. Default is `false`.
- **[animationSpeed]** (Optional): The speed at which the items should animate/scroll.

## Limitations
- Currently, only horizontal scrolling is supported.
- Feel free to contribute to this project and add more features.

## License
MIT

---

Feel free to contribute to this project and raise issues if you find any.

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