From 7a2180c99e70af7b6971a5651bddfb3bf43ee6b6 Mon Sep 17 00:00:00 2001 From: JackLewisGit Date: Wed, 29 Aug 2018 10:05:31 +1000 Subject: [PATCH] Update index.d.ts Added zoom type to ZoomOptions --- types/c3/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/c3/index.d.ts b/types/c3/index.d.ts index 0d94347ca3..e047b22c7e 100644 --- a/types/c3/index.d.ts +++ b/types/c3/index.d.ts @@ -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. */