Comment on page
Parallax
First import it to your app module or any submodule as you wish
import { SharedModule } from './@pages/components/shared.module';
@NgModule({
imports: [SharedModule,...]
})
export class AppModule(){}
Place "pg-parallax" in any div you want to get the parallax effect
HTML
<div class="inner" pg-parallax>
</div>
Last modified 5yr ago