0.0.3 • Published 4 years ago

@claytoncc/parallax v0.0.3

Weekly downloads
4
License
-
Repository
-
Last release
4 years ago

PARALLAX COMPONENT

Installation instructions

Install @claytoncc/parallax from npm:

npm install --save @claytoncc/parallax

Add needed package to NgModule imports:

import { ParallaxModule } from '@claytoncc/parallax';

@NgModule({
  ...
  imports: [ParallaxModule]
  ...
})

Usage:

<app-parallax-container [images]="images">
  <app-parallax-item>
    ...
    custom html
    ...
  </app-parallax-item>
  
  <app-parallax-item>
    ...
    custom html
    ...
  </app-parallax-item>
</app-parallax-container>

Component:

@Component({...})
export class AppComponent {
  constructor() {};
  
  public images: string[] = ['./assets/image.png'];
}

License

MIT

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago