Socket
Socket
Sign inDemoInstall

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.3.3 to 1.3.5

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.3.3",
"version": "1.3.5",
"description": "SortableJS for Angular 2+",

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

"type": "git",
"url": "git+https://github.com/SortableJS/angular-sortablejs.git"
"url": "git+https://github.com/lbertenasco/ap-angular-sortablejs.git"
},

@@ -34,5 +34,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/SortableJS/angular-sortablejs/issues"
"url": "https://github.com/lbertenasco/ap-angular-sortablejs/issues"
},
"homepage": "https://github.com/SortableJS/angular-sortablejs#readme",
"homepage": "https://github.com/lbertenasco/ap-angular-sortablejs#readme",
"dependencies": {

@@ -51,3 +51,3 @@ "sortablejs": "1.5.1"

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

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

@@ -160,4 +160,4 @@ # angular-sortablejs

By default, the boolean parameter **runInsideAngular** is set to **false**.
This means that the initial binding of all mouse events of the component will be set so that they **will not** trigger Angular's change detection.
By default, the boolean parameter **runInsideAngular** is set to **false**.
This means that the initial binding of all mouse events of the component will be set so that they **will not** trigger Angular's change detection.

@@ -164,0 +164,0 @@ If this parameter is set to true, then for large components - with a lot of data bindings - the UI will function in a staggered and lagging way (mainly when dragging items), while every event will trigger the change detection (which might be needed in some special edge cases).

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