diff --git a/HISTORY.md b/HISTORY.md index f9c3314a..cea287db 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -14,6 +14,7 @@ http://visjs.org ### Timeline +- Implemented option `multiselect`, which is false by default. - Added method `setData({groups: groups, items: items})`. - Fixed range items not being displayed smaller than 10 pixels (twice the padding). In order to have overflowing text, one should now apply css style diff --git a/docs/timeline.html b/docs/old_timeline.html similarity index 100% rename from docs/timeline.html rename to docs/old_timeline.html diff --git a/docs/timeline/index.html b/docs/timeline/index.html index 23fdc98b..2928adcc 100644 --- a/docs/timeline/index.html +++ b/docs/timeline/index.html @@ -679,6 +679,16 @@ var options = { + + multiselect + boolean + false + + If true, multiple items can be selected using ctrl+click, shift+click, or by holding items. + Only applicable when option selectable is true. + + + onAdd function @@ -1275,7 +1285,7 @@ timeline.off('select', onSelect); When the Timeline is configured to be editable (both options selectable and editable are true), the user can: