oribella-aurelia-sortable
Advanced tools
Comparing version 0.11.2 to 0.11.3
@@ -26,3 +26,3 @@ import { Repeat } from 'aurelia-templating-resources'; | ||
axis: string; | ||
moved: () => void; | ||
onStop: () => void; | ||
sortingClass: string; | ||
@@ -29,0 +29,0 @@ dragClass: string; |
@@ -19,3 +19,3 @@ define(["require", "exports", "tslib", "aurelia-pal", "aurelia-templating", "aurelia-templating-resources", "aurelia-dependency-injection", "oribella", "./optional-parent", "./utils", "./auto-scroll"], function (require, exports, tslib_1, aurelia_pal_1, aurelia_templating_1, aurelia_templating_resources_1, aurelia_dependency_injection_1, oribella_1, optional_parent_1, utils_1, auto_scroll_1) { | ||
this.axis = utils_1.AxisFlag.XY; | ||
this.moved = function () { }; | ||
this.onStop = function () { }; | ||
this.sortingClass = 'oa-sorting'; | ||
@@ -170,2 +170,3 @@ this.dragClass = 'oa-drag'; | ||
this.childSortables.forEach(function (s) { return s.isDisabled = false; }); | ||
this.onStop(); | ||
}; | ||
@@ -191,3 +192,3 @@ return Sortable; | ||
aurelia_templating_1.bindable | ||
], Sortable.prototype, "moved", void 0); | ||
], Sortable.prototype, "onStop", void 0); | ||
tslib_1.__decorate([ | ||
@@ -194,0 +195,0 @@ aurelia_templating_1.bindable |
@@ -26,3 +26,3 @@ import { Repeat } from 'aurelia-templating-resources'; | ||
axis: string; | ||
moved: () => void; | ||
onStop: () => void; | ||
sortingClass: string; | ||
@@ -29,0 +29,0 @@ dragClass: string; |
@@ -27,3 +27,3 @@ "use strict"; | ||
this.axis = utils_1.AxisFlag.XY; | ||
this.moved = function () { }; | ||
this.onStop = function () { }; | ||
this.sortingClass = 'oa-sorting'; | ||
@@ -178,2 +178,3 @@ this.dragClass = 'oa-drag'; | ||
this.childSortables.forEach(function (s) { return s.isDisabled = false; }); | ||
this.onStop(); | ||
}; | ||
@@ -199,3 +200,3 @@ return Sortable; | ||
aurelia_templating_1.bindable | ||
], Sortable.prototype, "moved", void 0); | ||
], Sortable.prototype, "onStop", void 0); | ||
tslib_1.__decorate([ | ||
@@ -202,0 +203,0 @@ aurelia_templating_1.bindable |
@@ -26,3 +26,3 @@ import { Repeat } from 'aurelia-templating-resources'; | ||
axis: string; | ||
moved: () => void; | ||
onStop: () => void; | ||
sortingClass: string; | ||
@@ -29,0 +29,0 @@ dragClass: string; |
@@ -24,3 +24,3 @@ import * as tslib_1 from "tslib"; | ||
this.axis = AxisFlag.XY; | ||
this.moved = () => { }; | ||
this.onStop = () => { }; | ||
this.sortingClass = 'oa-sorting'; | ||
@@ -170,2 +170,3 @@ this.dragClass = 'oa-drag'; | ||
this.childSortables.forEach((s) => s.isDisabled = false); | ||
this.onStop(); | ||
} | ||
@@ -190,3 +191,3 @@ }; | ||
bindable | ||
], Sortable.prototype, "moved", void 0); | ||
], Sortable.prototype, "onStop", void 0); | ||
tslib_1.__decorate([ | ||
@@ -193,0 +194,0 @@ bindable |
@@ -26,3 +26,3 @@ import { Repeat } from 'aurelia-templating-resources'; | ||
axis: string; | ||
moved: () => void; | ||
onStop: () => void; | ||
sortingClass: string; | ||
@@ -29,0 +29,0 @@ dragClass: string; |
@@ -51,3 +51,3 @@ System.register(["tslib", "aurelia-pal", "aurelia-templating", "aurelia-templating-resources", "aurelia-dependency-injection", "oribella", "./optional-parent", "./utils", "./auto-scroll"], function (exports_1, context_1) { | ||
this.axis = utils_1.AxisFlag.XY; | ||
this.moved = function () { }; | ||
this.onStop = function () { }; | ||
this.sortingClass = 'oa-sorting'; | ||
@@ -202,2 +202,3 @@ this.dragClass = 'oa-drag'; | ||
this.childSortables.forEach(function (s) { return s.isDisabled = false; }); | ||
this.onStop(); | ||
}; | ||
@@ -223,3 +224,3 @@ return Sortable; | ||
aurelia_templating_1.bindable | ||
], Sortable.prototype, "moved", void 0); | ||
], Sortable.prototype, "onStop", void 0); | ||
tslib_1.__decorate([ | ||
@@ -226,0 +227,0 @@ aurelia_templating_1.bindable |
{ | ||
"name": "oribella-aurelia-sortable", | ||
"version": "0.11.2", | ||
"version": "0.11.3", | ||
"description": "Aurelia Sortable plugin powered by Oribella", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -32,3 +32,3 @@ import { DOM } from 'aurelia-pal'; | ||
@bindable public axis: string = AxisFlag.XY; | ||
@bindable public moved: () => void = () => { }; | ||
@bindable public onStop: () => void = () => { }; | ||
@bindable public sortingClass: string = 'oa-sorting'; | ||
@@ -191,2 +191,3 @@ @bindable public dragClass: string = 'oa-drag'; | ||
this.childSortables.forEach((s) => s.isDisabled = false); | ||
this.onStop(); | ||
} | ||
@@ -193,0 +194,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
267410
4102