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

azdnd

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azdnd - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

droppable/droppable.css

4

draggable/draggable.js

@@ -364,3 +364,3 @@ import { diffPosition, dndEvent, dndState, getDocHeight, getDocScrollLeft, getDocScrollTop, getDocWidth, getPositionState, isOutside, isTouchDevice, siblings } from '/node_modules/azdom/utils.js';

me.dropTargets = [...document.querySelectorAll('.azDroppable')]
me.dropTargets = [...document.querySelectorAll('[azdom-droppable]')]
.filter(dt => dt !== node)

@@ -370,3 +370,3 @@ .map(dt => {

dt,
dropId: dt.getAttribute('az-obj-id-droppable'),
dropId: dt.getAttribute('azdom-droppable'),
interestedDropEvents: dt.getAttribute('az-interested-drop-events') * 1

@@ -373,0 +373,0 @@ };

import { dndEvent, dndState } from '../node_modules/azdom/utils.js';
export class Droppable {
azInit(options) {
const settings = Object.assign(
{
// key: '',
// source_all_in: function (e) {},
// source_all_out: function (e) {},
// target_all_in: function (e) {},
// target_all_out: function (e) {},
// source_center_in: function (e) {},
// source_center_out: function (e) {},
// target_center_in: function (e) {},
// target_center_out: function (e) {},
// touch_in: function (e) {},
// touch_out: function (e) {},
// pointer_in: function (e) {},
// pointer_out: function (e) {},
// dragged: function (e) {},
// dropped: function (e) {},
interestedDropEvents: dndEvent.all
},
options
);
const settings = {
// source_all_in: function (e) {},
// source_all_out: function (e) {},
// target_all_in: function (e) {},
// target_all_out: function (e) {},
// source_center_in: function (e) {},
// source_center_out: function (e) {},
// target_center_in: function (e) {},
// target_center_out: function (e) {},
// touch_in: function (e) {},
// touch_out: function (e) {},
// pointer_in: function (e) {},
// pointer_out: function (e) {},
// dragged: function (e) {},
// dropped: function (e) {},
interestedDropEvents: dndEvent.all,
...options
};
const me = this;

@@ -28,0 +27,0 @@ const node = me.node;

{
"name": "azdnd",
"version": "0.0.4",
"version": "0.0.5",
"description": "A drag and drop ui manager.",
"scripts": {
"test": "npx jasmine tests/*"
},
"repository": {

@@ -15,8 +18,9 @@ "type": "git",

"dependencies": {
"azdom": "*"
"azdom": "*",
"jsstrgen": "*"
},
"devDependencies": {
"jasmine": "^3.5.0",
"puppeteer": "^1.20.0"
"jasmine": "*",
"puppeteer": "*"
}
}
}

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

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