Socket
Socket
Sign inDemoInstall

@interactjs/types

Package Overview
Dependencies
Maintainers
2
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interactjs/types - npm Package Compare versions

Comparing version 1.8.0-alpha.7 to 1.8.0-rc.0

10

interactjs-test.js

@@ -8,2 +8,3 @@ // eslint-disable-next-line node/no-extraneous-import

interact('.drag-and-resize').draggable({
inertia: true,
modifiers: [interact.modifiers.snap({

@@ -214,3 +215,10 @@ targets: [{

});
interact.on(['dragmove', 'resizestart'], listener);
interact.on(['dragmove', 'resizestart'], listener); // devTools options
interact(target).devTools({
ignore: {
boxSizing: true,
touchAction: true
}
});
const dropTarget = 'div'; // Drop Events

@@ -217,0 +225,0 @@

26

package.json
{
"name": "@interactjs/types",
"version": "1.8.0-alpha.7",
"version": "1.8.0-rc.0",
"license": "MIT",
"dependencies": {
"@interactjs/actions": "1.8.0-alpha.7",
"@interactjs/auto-scroll": "1.8.0-alpha.7",
"@interactjs/auto-start": "1.8.0-alpha.7",
"@interactjs/core": "1.8.0-alpha.7",
"@interactjs/dev-tools": "1.8.0-alpha.7",
"@interactjs/inertia": "1.8.0-alpha.7",
"@interactjs/interact": "1.8.0-alpha.7",
"@interactjs/modifiers": "1.8.0-alpha.7",
"@interactjs/pointer-events": "1.8.0-alpha.7",
"@interactjs/reflow": "1.8.0-alpha.7",
"@interactjs/utils": "1.8.0-alpha.7"
"@interactjs/actions": "1.8.0-rc.0",
"@interactjs/auto-scroll": "1.8.0-rc.0",
"@interactjs/auto-start": "1.8.0-rc.0",
"@interactjs/core": "1.8.0-rc.0",
"@interactjs/dev-tools": "1.8.0-rc.0",
"@interactjs/inertia": "1.8.0-rc.0",
"@interactjs/interact": "1.8.0-rc.0",
"@interactjs/modifiers": "1.8.0-rc.0",
"@interactjs/pointer-events": "1.8.0-rc.0",
"@interactjs/reflow": "1.8.0-rc.0",
"@interactjs/utils": "1.8.0-rc.0"
},
"devDependencies": {
"@interactjs/_dev": "1.8.0-alpha.7"
"@interactjs/_dev": "1.8.0-rc.0"
},

@@ -21,0 +21,0 @@ "publishConfig": {

@@ -126,8 +126,7 @@ // Type definitions for interact.js

export type PerActionDefaults = defaults.PerActionDefaults
export interface OptionsArg extends defaults.BaseDefaults, Interact.OrBoolean<defaults.PerActionDefaults> {}
export type OptionsArg = defaults.OptionsArg
export interface DraggableOptions extends Options {
export interface DraggableOptions extends PerActionDefaults {
startAxis?: 'x' | 'y' | 'xy'
lockAxis?: 'x' | 'y' | 'xy' | 'start'
cursorChecker?: Interact.CursorChecker
oninertiastart?: ListenersArg

@@ -139,3 +138,3 @@ onstart?: Interact.ListenersArg

export interface DropzoneOptions extends Options {
export interface DropzoneOptions extends PerActionDefaults {
accept?: string | Element | (({ dropzone, draggableElement }: {

@@ -167,3 +166,3 @@ dropzone: Interact.Interactable

export interface ResizableOptions extends Options {
export interface ResizableOptions extends PerActionDefaults {
square?: boolean

@@ -176,3 +175,2 @@ preserveAspectRatio?: boolean

squareResize?: boolean
cursorChecker?: Interact.CursorChecker
oninertiastart?: ListenersArg

@@ -184,3 +182,3 @@ onstart?: Interact.ListenersArg

export interface GesturableOptions extends Options {
export interface GesturableOptions extends PerActionDefaults {
onstart?: Interact.ListenersArg

@@ -187,0 +185,0 @@ onmove?: Interact.ListenersArg

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