Socket
Socket
Sign inDemoInstall

swipe-it

Package Overview
Dependencies
32
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.13 to 0.1.14

3

history.md

@@ -0,1 +1,4 @@

0.1.14
* no swipe for absolute element
0.1.13

@@ -2,0 +5,0 @@ * improve example

3

lib/index.js

@@ -95,5 +95,6 @@ var domify = require('domify')

if (this.stat === 'reseting' || classes(el).has('swipe-holder')) return
if (this.tween) this.tween.stop()
// already move
var sel = this.swipeEl
if (el.style.position === 'absolute' && !sel) return
if (this.tween) this.tween.stop()
if (sel && el === sel) {

@@ -100,0 +101,0 @@ e.preventDefault()

{
"name": "swipe-it",
"version": "0.1.13",
"version": "0.1.14",
"description": "Swipe a custom element out with animation",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc