0.0.10 • Published 2 years ago

ngx-simple-parallax-js v0.0.10

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

NgxSimpleParallaxJs logo

NgxSimpleParallaxJs

SimpleParallax.js wrapper for Angular

npm version

Installation

Install

The ngx-simple-parallax-js can be installed with npm:

npm install ngx-simple-parallax-js simple-parallax-js@^5.6.2

Then, import NgxSimpleParallaxJsModule into a module of your Angular app.

import { NgxSimpleParallaxJsModule } from 'ngx-simple-parallax-js';

@NgModule({
  declarations: [],
  imports: [
    NgxSimpleParallaxJsModule
  ]
  exports: []
})
export class YourModule {
}

Using directive

In images:

 <img parallax class="thumbnail" src="image.jpg" alt="image">

In videos:

<video parallax>
  <source src="video.mp4" type="video/mp4">
</video>

With configs:

 <img parallax [parallaxConfig]="parallaxConfig" src="image.jpg" alt="image">

Complete documentation for simpleParallax.js: Official docs

0.0.10

2 years ago

0.0.10-dev.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3-dev.1

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.1-dev.2

3 years ago

0.0.1-dev.1

3 years ago