mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 19:59:02 +08:00
Merge pull request #17895 from abruzzihraig/master
[Dragula] add the declaration of 'ignoreInputTextSelection' for its 'DragulaOptions'
This commit is contained in:
@@ -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
types/dragula/index.d.ts
vendored
2
types/dragula/index.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user