Pages UI
v5.0.1 - Pages Angular
Search
K
Comment on page

Parallax

Importing

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(){}

Usage

Place "pg-parallax" in any div you want to get the parallax effect
HTML
<div class="inner" pg-parallax>
</div>