mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Update interact.js typings to 1.0.25
This commit is contained in:
@@ -103,5 +103,6 @@ interact.deltaSource("page");
|
||||
interact.restrict({
|
||||
"drag": rectangle,
|
||||
"resize": rectangle,
|
||||
"gesture": rectangle
|
||||
"gesture": rectangle,
|
||||
"elementRect": { top: 0, left: 0, bottom: 1, right: 1 }
|
||||
});
|
||||
|
||||
7
interactjs/interact.d.ts
vendored
7
interactjs/interact.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
// Type definitions for Interacting for interact.js v1.0.17
|
||||
// Type definitions for Interacting for interact.js v1.0.25
|
||||
// Project: https://github.com/taye/interact.js
|
||||
// Definitions by: Douglas Eichelberger <https://github.com/dduugg>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyType
|
||||
// Definitions by: Douglas Eichelberger <https://github.com/dduugg>, Adi Dahiya <https://github.com/adidahiya>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
// API documentation: http://interactjs.io/docs
|
||||
|
||||
@@ -157,6 +157,7 @@ interface Restrict {
|
||||
drag?: any;
|
||||
gesture?: any;
|
||||
resize?: any;
|
||||
elementRect?: {[direction: string]: number};
|
||||
}
|
||||
|
||||
interface InteractEvent {
|
||||
|
||||
Reference in New Issue
Block a user