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

ap-angular-sortablejs

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

ap-angular-sortablejs - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

1

dist/src/sortablejs-options.d.ts

@@ -6,2 +6,3 @@ export interface SortablejsOptions {

disabled?: boolean;
disableBinding?: boolean;
store?: {

@@ -8,0 +9,0 @@ get: (sortable: any) => any[];

6

dist/src/sortablejs.directive.js

@@ -75,3 +75,3 @@ import { Directive, ElementRef, Input, NgZone } from '@angular/core';

onAdd: function (event) {
if (_this.bindingEnabled) {
if (!_this.inputOptions.disableBinding && _this.bindingEnabled) {
_this.onremove = function (item) {

@@ -89,3 +89,3 @@ if (_this.isItemsFormArray) {

onRemove: function (event) {
if (_this.bindingEnabled) {
if (!_this.inputOptions.disableBinding && _this.bindingEnabled) {
var item = void 0;

@@ -105,3 +105,3 @@ if (_this.isItemsFormArray) {

onUpdate: function (event) {
if (_this.bindingEnabled) {
if (!_this.inputOptions.disableBinding && _this.bindingEnabled) {
if (_this.isItemsFormArray) {

@@ -108,0 +108,0 @@ var relocated = _this.items.at(event.oldIndex);

{
"name": "ap-angular-sortablejs",
"version": "1.4.0",
"version": "1.4.1",
"description": "SortableJS for Angular 2+",

@@ -25,3 +25,2 @@ "main": "./dist/index.js",

"angular-sortablejs",
"ap-angular-sortablejs",
"ng2-sortable",

@@ -51,3 +50,3 @@ "ng2-sortablejs",

"rxjs": "5.3.0",
"tslint": "5.0.0",
"tslint": "5.1.0",
"typescript": "2.2.2"

@@ -54,0 +53,0 @@ },

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

# ap-angular-sortablejs
# angular-sortablejs

@@ -8,3 +8,3 @@ This package is an Angular 2 binding for [Sortable.js](https://github.com/RubaXa/Sortable). Supports standard arrays and Angular `FormArray`.

```sh
npm install --save ap-angular-sortablejs
npm install --save angular-sortablejs
```

@@ -24,3 +24,3 @@

...
'ap-angular-sortablejs': 'node_modules/ap-angular-sortablejs/dist/',
'angular-sortablejs': 'node_modules/angular-sortablejs/dist/',
'sortablejs': 'node_modules/sortablejs/Sortable.js',

@@ -32,3 +32,3 @@ ...

...
'ap-angular-sortablejs': { main: 'index.js', defaultExtension: 'js' },
'angular-sortablejs': { main: 'index.js', defaultExtension: 'js' },
...

@@ -126,3 +126,3 @@ };

import { Component } from '@angular/core';
import { SortablejsOptions } from 'ap-angular-sortablejs';
import { SortablejsOptions } from 'angular-sortablejs';

@@ -129,0 +129,0 @@ @Component({

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