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

affix-component

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

affix-component - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

4

index.js

@@ -37,3 +37,3 @@ var event = require('event')

this.bottom = opt.bottom || 0
this.start = opt.top ? top - opt.top : 0
this.start = opt.top ? top - opt.top : null
this.top = opt.top || top

@@ -80,3 +80,3 @@ this.setOrigin()

}
else if (this.start && y > this.start) {
else if (this.start != null && y > this.start) {
this.setHolder()

@@ -83,0 +83,0 @@ assign(styleObj, {

{
"name": "affix-component",
"version": "0.2.3",
"version": "0.2.4",
"description": "fix element when page scroll",

@@ -5,0 +5,0 @@ "main": "index.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