-
Notifications
You must be signed in to change notification settings - Fork 685
Description
First off, thanks for the nice library, saved us a lot of work!
This question / request is somewhat related to #358 and #228:
Our goal is to let the user select a new (group dependend) date range within the timeline by clicking twice (first click = start date, second click = end date).
We've implemented a basic version using onCanvasClick and then add a new item (with different styling) after the second click.
This kind of works, but feels a bit workaroundish since the handlers etc. will be different for this new "item" as well. It would probably be better to not use the items array, but rather have some kind of a group dependant timeline marker, which can have its own click handlers etc.
Is this already possible with the current version? I couldn't find a way to have a date range marker for a single group. If not: Do you have a good idea / starting point how to implement this feature with the current version of the library? Or what would you suggest?