Activatable timeline
+
+ The following timelines are activatable
: before you can scroll and drag in the timeline, you first have to click in the timeline to activate.
+
diff --git a/HISTORY.md b/HISTORY.md index c8fcf0af..8181c40b 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -10,6 +10,7 @@ http://visjs.org - Fixed canceling moving an item to another group did not move the item back to the original group. - Added localization support. +- Implemented option `activatable`. ### Network @@ -23,6 +24,7 @@ http://visjs.org - Added two examples showing the two additions above. - Added 'customRange' for the Y axis and an example showing how it works. - Added localization support. +- Implemented option `activatable`. ## 2014-08-14, version 3.2.0 diff --git a/docs/timeline.html b/docs/timeline.html index d08677c8..27c6ca5a 100644 --- a/docs/timeline.html +++ b/docs/timeline.html @@ -356,6 +356,14 @@ var options = {
activatable
, it will react to mouse and touch events only when active.
+ When active, a blue shadow border is displayed around the Timeline. The Timeline is set active by clicking on it, and is changed to inactive again by clicking outside the Timeline or by pressing the ESC key.
+ The following timelines are activatable
: before you can scroll and drag in the timeline, you first have to click in the timeline to activate.
+