Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

button-animation

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

button-animation - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

3

btnAnimation.js

@@ -41,3 +41,3 @@ export function buttonAnimation (e,color='#fff') {

}
export function buttonAnimation (c, bg = '#ff7242', dire = 'left') {
export function buttonHover (c, bg = '#ff7242', dire = 'left') {
const style = document.createElement('style')

@@ -120,3 +120,2 @@ const dom = document.querySelector(`.${c}`)

dom.appendChild(style)
dom.classList.add('buttonHover')
}
{
"name": "button-animation",
"version": "1.0.6",
"version": "1.0.7",
"description": "b站上学习到的按钮点击动画",

@@ -5,0 +5,0 @@ "main": "btnAnimation.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc