
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
@youngbeen/anima
Advanced tools
Anima is an easy-to-use yet light weight javascript library to animate elements in your page
[TOC]
Anima is an easy-to-use yet light weight javascript library to animate elements in your page
Install it via npm
npm i -S @youngbeen/anima
import anima from '@youngbeen/anima'
In html, on which element you want to animate. Add a use-anima attribute
<p use-anima>Element</p>
Then init anima in proper time (or reinit it)
anima.init()
That's all! Anima will handle the rest.
You can config animation time and animation type for each element.
Add anima-time attribute to element to config animation time
anima-timevalue is consumed inms(milliseconds)
Add anima-type attribute to element to config animation type
Support
zoom,fade. Default aszoom
<!-- Config animation time -->
<p use-anima anima-time="400">Element</p>
<!-- Config animation type -->
<p use-anima anima-type="fade">Element</p>
<!-- Config animation all together -->
<p use-anima anima-type="fade" anima-time="1000">Element</p>
anima.revoke()
FAQs
Anima is an easy-to-use yet light weight javascript library to animate elements in your page
The npm package @youngbeen/anima receives a total of 15 weekly downloads. As such, @youngbeen/anima popularity was classified as not popular.
We found that @youngbeen/anima 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
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.