Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-simple-parallax-js

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-simple-parallax-js

This library allows you to use simpleParallax.js in Angular easily.

  • 0.0.3-dev.1
  • npm
  • Socket score

Version published
Weekly downloads
15
decreased by-37.5%
Maintainers
1
Weekly downloads
 
Created
Source

https://github.com/gesielrosa/gesielrosa-libs/blob/main/projects/ngx-simple-parallax-js/logo.png?raw=true

npm version

NgxSimpleParallaxJs

This library allows you to use simpleParallax.js in Angular easily.

simpleParallax.js

Installation


Install dependencies

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

npm install ngx-simple-parallax-js@0.0.3 --save

Also install simpleParallax.js too:

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


Import NgxSimpleParallaxJsModule

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 settings:

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

Complete documentation for simpleParallax.js:

simpleParallax.js DOCS



@gesielrosa

Keywords

FAQs

Package last updated on 02 Aug 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc