Socket
Socket
Sign inDemoInstall

ngx-simple-parallax-js

Package Overview
Dependencies
6
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ngx-simple-parallax-js

![NgxSimpleParallaxJs logo](https://github.com/gesielrosa/ngx-simple-parallax-js/tree/main/projects/ngx-simple-parallax-js/logo.png)


Version published
Weekly downloads
32
increased by14.29%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 17 Jul 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc