Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Inertia scroll and parallax effect plugin in Vanilla.js
You can install it using npm:
npm install luxy.js --save
Or just include the script in your page:
<script src="path/to/luxy.js" charset="utf-8"></script>
Included luxy.js in your project and initialize:
<script charset="utf-8">
luxy.init();
</script>
Wrap the entire content with the element specified in the wrapper option. Please exclude fixed elements.
<div id="luxy">
... Entire content
</div>
Add .luxy-el to the element for which parallax effect is to be specified.
<div id="luxy">
<div class="luxy-el"></div>
</div>
Specify the speed of the parallax effect with the data-speed-y attribute and offset with the data-offset attribute.
<div id="luxy">
<div class="luxy-el" data-speed-y="5" data-offset="-50"></div>
</div>
If you want to move horizontally, specify data-horizontal="1" and specify the speed in the horizontal direction with the data-speed-x attribute.
<div id="luxy">
<div class="luxy-el" data-horizontal="1" data-speed-x="-5"></div>
</div>
Name | default | description |
---|---|---|
wrapper | '#luxy' | Entire content wrapper element. |
targets | '.luxy-el' | Parallax effect targets elements. |
wrapperSpeed | 0.08 | Inertia scroll speed. |
FAQs
Inertia scroll and parallax effect plugin in Vanilla.j
We found that luxy.js 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.