WIP, here's a quick usage example:
npm i --save ionic-parallax
import { ParallaxModule } from 'ionic-parallax';
@NgModule({
imports: [
...
ParallaxModule
]
})
<ion-content>
<ion-card>
<div parallax [ratio]=50></div>
</ion-card>
</ion-content>
ion-card {
position: relative;
> img[parallax] {
position: absolute;
height: inherit;
}
}