diff --git a/docs/graph2d/index.html b/docs/graph2d/index.html
index 28025771..61621a0d 100644
--- a/docs/graph2d/index.html
+++ b/docs/graph2d/index.html
@@ -1026,6 +1026,26 @@ function (option, path) {
The width of the timeline in pixels or as a percentage. |
+
+ zoomable |
+ boolean |
+ true |
+
+ Specifies whether the Timeline can be zoomed by pinching or scrolling in the window.
+ Only applicable when option moveable is set true .
+ |
+
+
+
+ zoomKey |
+ String |
+ '' |
+ Specifies whether the Timeline is only zoomed when an additional key is down.
+ Available values are '' (does not apply), 'altKey', 'ctrlKey', or 'metaKey'.
+ Only applicable when option moveable is set true .
+ |
+
+
zoomMax |
Number |
diff --git a/lib/timeline/optionsGraph2d.js b/lib/timeline/optionsGraph2d.js
index 40569248..c6dc0ddb 100644
--- a/lib/timeline/optionsGraph2d.js
+++ b/lib/timeline/optionsGraph2d.js
@@ -150,6 +150,7 @@ let allOptions = {
},
width: {string, number},
zoomable: {boolean},
+ zoomKey: {string: ['ctrlKey', 'altKey', 'metaKey', '']},
zoomMax: {number},
zoomMin: {number},
__type__: {object}
@@ -251,6 +252,7 @@ let configureOptions = {
start: '',
width: '100%',
zoomable: true,
+ zoomKey: ['ctrlKey', 'altKey', 'metaKey', ''],
zoomMax: [315360000000000, 10, 315360000000000, 1],
zoomMin: [10, 10, 315360000000000, 1]
}