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

@wildebeest/drag

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wildebeest/drag - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

dist/DragableComponent.d.ts

2

dist/index.d.ts
export { DragModule } from './DragModule';
export { DragableElement } from './DragableElement';
export { DragableComponent } from './DragableComponent';

@@ -5,4 +5,4 @@ "use strict";

exports.DragModule = DragModule_1.DragModule;
var DragableElement_1 = require("./DragableElement");
exports.DragableElement = DragableElement_1.DragableElement;
var DragableComponent_1 = require("./DragableComponent");
exports.DragableComponent = DragableComponent_1.DragableComponent;
//# sourceMappingURL=index.js.map
{
"name": "@wildebeest/drag",
"version": "0.2.0",
"version": "0.3.0",
"description": "Draging event module",

@@ -17,4 +17,5 @@ "main": "dist/index.js",

"dependencies": {
"@wildebeest/js-modules": "^0.1.0",
"@wildebeest/common": "^0.2.0"
"@wildebeest/common": "^0.2.0",
"@wildebeest/component": "^0.1.2",
"@wildebeest/js-modules": "^0.1.0"
},

@@ -21,0 +22,0 @@ "devDependencies": {

import { Module } from "@wildebeest/js-modules";
import { CommonModule } from "@wildebeest/common";
import { Container } from "inversify";
import { DragableComponent } from "./DragableComponent";

@@ -5,0 +6,0 @@

export { DragModule } from './DragModule';
export { DragableElement } from './DragableElement';
export { DragableComponent } from './DragableComponent';
import 'ts-jest';
import { Application } from '@wildebeest/js-modules';
import { DragModule } from '../src/DragModule';
import { DragableElement } from '../src/DragableElement';
import { DragableComponent } from '../src/DragableComponent';
import { DomService, EmitterService } from '@wildebeest/common';

@@ -20,4 +20,4 @@

domService.insert([element], document.body);
let dragable: DragableElement = new DragableElement(element, emitterService.createEmitter());
dragable.getEmitter().on('drag', (event: any) => {
let dragable: DragableComponent = new DragableComponent(element, emitterService.createEmitter());
dragable.getEmitter().on('wbDrag', (event: any) => {
value.vertical += event.vertical;

@@ -52,4 +52,4 @@ value.horizontal += event.horizontal;

domService.insert([element], document.body);
let dragable: DragableElement = new DragableElement(element, emitterService.createEmitter());
dragable.getEmitter().on('drag', (event: any) => {
let dragable: DragableComponent = new DragableComponent(element, emitterService.createEmitter());
dragable.getEmitter().on('wbDrag', (event: any) => {
value.vertical += event.vertical;

@@ -56,0 +56,0 @@ value.horizontal += event.horizontal;

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