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.
vue-transition-on-scroll
Advanced tools
It is Vue.js plugin. When you scroll, you can give the transition effect to the internal objects
It is Vue.js plugin. When you scroll, you can give the transition effect to the internal objects. when the target object show up in viewport of wrapper(or window), transition effect start.
<template>
<div class="section scroll-transition">
<div class="inner">
<div>
scroll down
</div>
<div id="scroll1">
<trans-on-scroll wrapper=".scroll-transition" repeat>from default(top)</trans-on-scroll>
</div>
<div id="scroll2">
<trans-on-scroll wrapper=".scroll-transition" repeat from="right">from right</trans-on-scroll>
</div>
<div id="scroll3">
<trans-on-scroll wrapper=".scroll-transition" repeat from="left">from left</trans-on-scroll>
</div>
</div>
</div>
</template>
.scroll-transition {
height: 300px;
overflow: scroll;
font-size: 3em;
&::-webkit-scrollbar {
width: 8px;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(31, 45, 61, 0.14);
outline: 1px solid rgba(31, 45, 61, 0.14);
border-radius: 4px;
}
.inner {
height: 1500px;
&>div {
height: 300px;
margin-bottom: 20px;
display: flex;
flex-direction: column;
justify-content: center;
}
}
#scroll1 {
background-color: #50C3F7;
}
#scroll2 {
background-color: #7986CB;
}
#scroll3 {
background-color: #AED581;
}
}
Property | Description | Type | Accepted Values | Default |
---|---|---|---|---|
from | transition direction from | String | top/right/left/bottom | top |
wrapper | wrapper is scrollable box what box wrapped targets | String | only id | window |
distance | distance of trasition | String | long/normal/short | 50% |
repeat | whether repeat transiton effect | String | long/normal/short | 50% |
FAQs
It is Vue.js plugin. When you scroll, you can give the transition effect to the internal objects
The npm package vue-transition-on-scroll receives a total of 0 weekly downloads. As such, vue-transition-on-scroll popularity was classified as not popular.
We found that vue-transition-on-scroll 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.