ngx-simple-parallax-js
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.1057latest
0.0.10-dev.01dev

Version History

VersionDownloads (Last 7 Days)Published
0.0.1057
0.0.10-dev.01
0.0.91
0.0.81
0.0.71
0.0.61
0.0.51
0.0.41
0.0.3-dev.11
0.0.31
0.0.21
0.0.11
0.0.1-dev.21
0.0.1-dev.11

Package Sidebar

Install

npm i ngx-simple-parallax-js

Weekly Downloads

70

Version

0.0.10

License

none

Unpacked Size

24.8 kB

Total Files

12

Last publish

Collaborators

  • gesielr