Update index.d.ts

Added zoom type to ZoomOptions
This commit is contained in:
JackLewisGit
2018-08-29 10:05:31 +10:00
committed by GitHub
parent 73c566bec3
commit 7a2180c99e
+4
View File
@@ -806,6 +806,10 @@ export interface ZoomOptions {
* Enable zooming.
*/
enabled?: boolean;
/**
* Set interaction type for zooming
*/
type?: 'scroll' | 'drag';
/**
* Enable to rescale after zooming. If true set, y domain will be updated according to the zoomed region.
*/