Merge pull request #17895 from abruzzihraig/master

[Dragula] add the declaration of 'ignoreInputTextSelection' for its 'DragulaOptions'
This commit is contained in:
Ryan Cavanaugh
2017-07-13 14:45:31 -07:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

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();

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 {