@types/d3-drag
Advanced tools
Comparing version 1.0.7 to 1.1.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for D3JS d3-drag module 1.0 | ||
// Type definitions for D3JS d3-drag module 1.1 | ||
// Project: https://github.com/d3/d3-drag/ | ||
@@ -6,3 +6,3 @@ // Definitions by: Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov> | ||
// Last module patch version validated against: 1.0.2 | ||
// Last module patch version validated against: 1.1.0 | ||
@@ -169,2 +169,16 @@ import { ArrayLike, Selection, ValueFn } from 'd3-selection'; | ||
/** | ||
* Return the current click distance threshold, which defaults to zero. | ||
*/ | ||
clickDistance(): number; | ||
/** | ||
* Set the maximum distance that the mouse can move between mousedown and mouseup that will trigger | ||
* a subsequent click event. If at any point between mousedown and mouseup the mouse is greater than or equal to | ||
* distance from its position on mousedown, the click event follwing mouseup will be suppressed. | ||
* | ||
* @param distance The distance threshold between mousedown and mouseup measured in client coordinates (event.clientX and event.clientY). | ||
* The default is zero. | ||
*/ | ||
clickDistance(distance: number): this; | ||
/** | ||
* Return the first currently-assigned listener matching the specified typenames, if any. | ||
@@ -171,0 +185,0 @@ * |
{ | ||
"name": "@types/d3-drag", | ||
"version": "1.0.7", | ||
"version": "1.1.0", | ||
"description": "TypeScript definitions for D3JS d3-drag module", | ||
@@ -30,4 +30,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "015fe815385ba0037a67da199c8429651ed3735aae7432df1a3e75fcaa7e6b09", | ||
"typesPublisherContentHash": "b7c391203c389d6af1cd1c8f1d8d6280d369889ef231f28add1a922e4a1d6713", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 30 Mar 2017 21:29:26 GMT | ||
* Last updated: Sat, 13 May 2017 17:12:32 GMT | ||
* Dependencies: d3-selection | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23735
4
357