add: add the declaration of 'ignoreInputTextSelection'

This commit is contained in:
Abruzzi
2017-07-10 15:18:34 +10:00
parent fc73cdd92b
commit e4ce18f059
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -20,7 +20,8 @@ var d2 = dragula({
revertOnSpill: false,
removeOnSpill: false,
delay: false,
mirrorContainer: document.body
mirrorContainer: document.body,
ignoreInputTextSelection: true
});
var d3 = dragula();
+2
View File
@@ -1,6 +1,7 @@
// Type definitions for dragula v2.1.2
// Project: http://bevacqua.github.io/dragula/
// Definitions by: Paul Welter <https://github.com/pwelter34/>
// Yang He <https://github.com/abruzzihraig/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare var dragula: dragula.Dragula;
@@ -21,6 +22,7 @@ declare namespace dragula {
removeOnSpill?: boolean;
delay?: boolean | number;
mirrorContainer?: Element;
ignoreInputTextSelection?: boolean;
}
interface Drake {