
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
vue-animate-scroll
Advanced tools
A small Vue component that provides an easy way to animate elements as they scroll into view.
A small Vue component that provides an easy way to animate elements as they scroll into view.
npm i --save vue-animate-scroll
# or
yarn add vue-animate-scroll
Import into your main Javascript file
import Vue from 'vue'
import VueAnimate from 'vue-animate-scroll'
Vue.use(VueAnimate)
<div v-animate="'slide-up'">Hello</div>
# NB. A string literal (inner single-quotes) should be passed.
.animate {
transition-delay: .1s
transition-duration: .25s
transition-timing-function: ease-in
}
.slide-up {
transform: translateY(0)
}
.slide-up.animate-active {
transform: translateY(-100px)
}
Vue.use(VueAnimate, { animateClass: String, activeClass: String });
const options = {
animateClass: String, /* Class that gets added to all directive
elements. Default 'animate'. */
activeClass: String, /* Class that gets added when elements scrolls
into view. Default 'animate-active' */
}
| Modifier | Description |
|---|---|
| repeat | Repeats the animation every time it enters the window. |
| fade | Adds a .fade class so opacity can be applied on the transition |
For example to use both repeat and fade.
<div v-animate.repeat.fade="'slide-up'">Hello</div>
FAQs
A small Vue component that provides an easy way to animate elements as they scroll into view.
We found that vue-animate-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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.