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

angular-sortablejs

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-sortablejs - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

6

dist/src/sortablejs-options.d.ts

@@ -23,2 +23,5 @@ export interface SortablejsOptions {

scrollSpeed?: number;
preventOnFilter?: boolean;
dragClass?: string;
fallbackTolerance?: number;
setData?: (dataTransfer: any, draggedElement: any) => any;

@@ -33,2 +36,5 @@ onStart?: (event: any) => any;

onMove?: (event: any) => boolean;
scrollFn?: (offsetX: any, offsetY: any, originalEvent: any) => any;
onChoose?: (event: any) => any;
onClone?: (event: any) => any;
}

2

package.json
{
"name": "angular-sortablejs",
"version": "2.2.1",
"version": "2.2.2",
"description": "SortableJS for Angular",

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

@@ -7,3 +7,3 @@ # angular-sortablejs

Angular 4.x (angular-sortablejs@2.x.x; sortablejs must be installed separately)
Angular >= 4.x (angular-sortablejs@2.x.x; sortablejs must be installed separately)

@@ -24,3 +24,3 @@ ```sh

First, import `SortablejsModule` into the angular module where you want to use it:
First, import `SortablejsModule.forRoot({ /* and here some global settings if needed */ })` into the root module of your application:

@@ -30,2 +30,12 @@ ```typescript

// ...
SortablejsModule.forRoot({ animation: 150 }),
// ...
]
```
Then import `SortablejsModule` into the other angular modules where you want to use it:
```typescript
imports: [
// ...
SortablejsModule,

@@ -32,0 +42,0 @@ // ...

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