diff --git a/docs/timeline.html b/docs/timeline.html index 87102bb3..59eec23e 100644 --- a/docs/timeline.html +++ b/docs/timeline.html @@ -756,7 +756,7 @@ var options = { function When moving items on the Timeline, they will be snapped to nice dates like full hours or days, depending on the current scale. The snap function can be replaced with a custom function, or can be set to null to disable snapping. The signature of the snap function is:
function snap(date: Date, scale: string, step: number) : Date | number
- + The parameter scale can be can be 'millisecond', 'second', 'minute', 'hour', 'weekday, 'day, 'month, or 'year'. The parameter step is a number like 1, 2, 4, 5.