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
- Use npm to install the component
npm i angular-minimalist-parallax --save
- Add the angular-minimalist-parallax component to your app.
Include the following on your src/app/app.module.ts
.
; @
Usage
add the parallax
attribute to the <ion-content>
in your template:
<!-- <div class="child"> <h2>{{ text optional }}</h2> </div> -->