
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
ngx-parallax-mousemove
Advanced tools
A simple angular lib for creating a parallax effect connected to the mousemove event
A simple angular module for creating a parallax effect connected to the mousemove event.
The module provides some angular directives wrapper arround parallax-js.
If you're using npm :
npm i -s ngx-parallax-mousemove
It is also possible to install locally:
npm install --save-dev ngx-parallax-mousemove
There are 2 main directives to use :
<ul parallaxWrapper id="scene" [parallaxOptions]="{scalarX:40, scalarY:20, frictionX:0.1, frictionY:0.1, originX:0.4, originY:0.4}">
<li parallaxLayer [depth]="0.90" style="position: absolute;min-width: 100%;">
<img src="/assets/img/cloud.png" style="width: 960px;height: 300px">
</li>
<li parallaxLayer [depth]="0.50" style="min-width: 100%;height: auto;">
<img src="/assets/img/mountain.png" style="position: absolute;width: 100%;height: auto">
</li>
</ul>
FAQs
A simple angular lib for creating a parallax effect connected to the mousemove event
The npm package ngx-parallax-mousemove receives a total of 10 weekly downloads. As such, ngx-parallax-mousemove popularity was classified as not popular.
We found that ngx-parallax-mousemove demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.