diff --git a/docs/timeline.html b/docs/timeline.html index ccf9ce15..e5a56310 100644 --- a/docs/timeline.html +++ b/docs/timeline.html @@ -552,6 +552,12 @@ var options = { + + getSelection() + ids + Get an array with the ids of the currently selected items. + + on(event, callback) none @@ -564,13 +570,6 @@ var options = { Remove an event listener created before via function on(event, callback). - - select([ids]) - ids - Select or deselect items, or get current selection. Returns an array with the ids of the currently selected items. - - - setGroups(groups) none @@ -598,6 +597,13 @@ var options = { + + setSelection([ids]) + none + Select or deselect items. Currently selected items will be unselected. + + + diff --git a/examples/timeline/06_event_listeners.html b/examples/timeline/06_event_listeners.html index 88a14d80..8ea72e1b 100644 --- a/examples/timeline/06_event_listeners.html +++ b/examples/timeline/06_event_listeners.html @@ -20,7 +20,7 @@