Socket
Socket
Sign inDemoInstall

drag-event-service

Package Overview
Dependencies
3
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

2

dist/drag-event-service.cjs.js
/*!
* drag-event-service v1.1.0
* drag-event-service v1.1.1
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -4,0 +4,0 @@ * Homepage: undefined

/*!
* drag-event-service v1.1.0
* drag-event-service v1.1.1
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -4,0 +4,0 @@ * Homepage: undefined

/*!
* drag-event-service v1.1.0
* drag-event-service v1.1.1
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -4,0 +4,0 @@ * Homepage: undefined

/*!
* drag-event-service v1.1.0
* drag-event-service v1.1.1
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -4,0 +4,0 @@ * Homepage: undefined

{
"name": "drag-event-service",
"version": "1.1.0",
"version": "1.1.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/drag-event-service.cjs.js",

@@ -1,2 +0,11 @@

export default interface DragEventService{
export const DragEventService:Type_DragEventService
export function trackMouseOrTouchPosition(options: Options_trackMouseOrTouchPosition): {
info: TrackedInfo
start: () => void
stop: () => void
}
// types
export interface Type_DragEventService{
isTouch: (e: MouseOrTouchEvent) => Boolean

@@ -6,12 +15,2 @@ on: (el: HTMLElement, name: EventType, handler: Handler, options: Options) => void

}
export interface trackMouseOrTouchPosition{
(options: Options_trackMouseOrTouchPosition): {
info: TrackedInfo
start: () => void
stop: () => void
}
}
// types
export type EventType = 'start'|'move'|'end'

@@ -18,0 +17,0 @@ export type MouseOrTouchEvent = MouseEvent|TouchEvent

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