
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
vue3-scrollama
Advanced tools
A Vue 3 wrapper for Scrollama, a modern & lightweight JavaScript library for scrollytelling using IntersectionObserver in favor of scroll events.
npm install vue3-scrollama intersection-observer
Scrollama uses IntersectionObserver, we must manually add the polyfill for cross-browser support.
Import the component locally in your component:
import VueScrollama from "vue3-scrollama";
<template>
<div>
<VueScrollama
:debug="false"
:offset="0.55"
@step-enter="({ element }) => (currStep = element.dataset.stepNo)"
class="main__scrollama"
>
<div class="step" data-step-no="1">
Step 1
</div>
<div class="step" data-step-no="2">
Step 2
</div>
<div class="step" data-step-no="3">
Step 3
</div>
</VueScrollama>
<div>{{currStep}}</div>
</div>
</template>
<script setup>
import VueScrollama from 'vue3-scrollama'
let currStep = ref(null);
</script>
Name | Type | Default | Description |
---|---|---|---|
debug | Bool | false | Displays a debug line that shows where Scrollama cursor is. |
offset | Float | 0 | Offsets the Scrollama step cursor by X. |
@step-enter | Event | - | Fires when entering the Scrollama component. |
@step-progress | Event | - | Fires every time you scroll within the Scrollama component. |
@step-exit | Event | - | Fires when you exit the Scrollama component. |
FAQs
A Vue 3 wrapper for Scrollama
The npm package vue3-scrollama receives a total of 2 weekly downloads. As such, vue3-scrollama popularity was classified as not popular.
We found that vue3-scrollama 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.