diff --git a/examples/timeline/16_navigation_menu.html b/examples/timeline/16_navigation_menu.html new file mode 100755 index 00000000..f098442b --- /dev/null +++ b/examples/timeline/16_navigation_menu.html @@ -0,0 +1,88 @@ + + + + Timeline | navigation menu + + + + + + + +
+ +
+ + + + \ No newline at end of file diff --git a/examples/timeline/index.html b/examples/timeline/index.html index 122e148e..d94e82a6 100644 --- a/examples/timeline/index.html +++ b/examples/timeline/index.html @@ -27,6 +27,7 @@

13_past_and_future.html

14_a_lot_of_grouped_data.html

15_item_class_names.html

+

16_navigation_menu.html

requirejs_example.html

diff --git a/src/timeline/Timeline.js b/src/timeline/Timeline.js index 8d2a392b..477e9732 100644 --- a/src/timeline/Timeline.js +++ b/src/timeline/Timeline.js @@ -535,7 +535,7 @@ Timeline.prototype.getSelection = function getSelection() { * Where start and end can be a Date, number, or string, and range is an * object with properties start and end. * - * @param {Date | Number | String} [start] Start date of visible window + * @param {Date | Number | String | Object} [start] Start date of visible window * @param {Date | Number | String} [end] End date of visible window */ Timeline.prototype.setWindow = function setWindow(start, end) {