# angular-minimalist-parallax

> If you need more subtlety or just want to get out of the old background-attachment: fixed, get to know the angular-minimalist-parallax

Latest version **1.0.9** (published 2019-09-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install angular-minimalist-parallax
pnpm add angular-minimalist-parallax
yarn add angular-minimalist-parallax
bun add angular-minimalist-parallax
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2019-09-02 |
| First published | 2019-08-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 4.4 MB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Thiago Alves |
| Maintainers | thiagoalves |
| Keywords | ionic2, ionic3, angular5, angular, 6, minimalist-parallax, component |

## Links

- npm: https://www.npmjs.com/package/angular-minimalist-parallax
- Repository: https://github.com/ThiagoAllves/angular-minimalist-parallax
- Homepage: https://github.com/ThiagoAllves/angular-minimalist-parallax#readme
- Issues: https://github.com/ThiagoAllves/angular-minimalist-parallax/issues
- npm.io page: https://npm.io/package/angular-minimalist-parallax

## Dependencies (4)

- [lodash](https://npm.io/package/lodash.md) 4.17.15
- [hammerjs](https://npm.io/package/hammerjs.md) 2.0.8
- [@types/lodash](https://npm.io/package/@types/lodash.md) 4.14.106
- [@types/hammerjs](https://npm.io/package/@types/hammerjs.md) 2.0.33

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads
- [datasets-fi-postalcodes](https://npm.io/package/datasets-fi-postalcodes.md) — 1.1K weekly downloads

## Recent versions

- 1.0.9 (latest) — 2019-09-02
- 1.0.8 — 2019-09-02
- 1.0.7 — 2019-09-01
- 1.0.5 — 2019-09-01
- 1.0.4 — 2019-09-01
- 1.0.3 — 2019-08-30
- 1.0.2 — 2019-08-30
- 1.0.1 — 2019-08-30
- 1.0.0 — 2019-08-30

## README

# angular-minimalist-parallax
 If you need more subtlety or just want to get out of the old background-attachment: fixed, get to know the angular-minimalist-parallax


## Installation

1. Use npm to install the component

  ```bash
  npm i angular-minimalist-parallax --save
  ```

1. Add the angular-minimalist-parallax component to your app.

  Include the following on your `src/app/app.module.ts`.
  ```javascript
  import { MinimalistParallaxModule } from 'angular-minimalist-parallax';

  @NgModule({
    declarations: [
      MyApp,
      ...
    ],
    imports: [
      IonicModule.forRoot(MyApp),
      MinimalistParallaxModule
    ],
    ...
  })
  ```


## Usage

add the  `parallax` attribute  to the `<ion-content>` in your template:
```html
<ion-content parallax>
 <div class="over">
  <div class="bg"  [ngStyle]="{'background-image': 'linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.2) 100%), url('+image+')'}">
    <!-- <div class="child">
      <h2>{{ text optional }}</h2>  
    </div> -->
  </div>
 </div>
</ion-content>


```
## Demo

![Animated](Minimalist-Paralax.gif)

## Donate


[Help us develop and improve our plugins -->](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RECXAQV6G6W5N&source=url)

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