✨ Introduce on click event on task
This commit is contained in:
1 parent
016fbd2257
commit
e38fc8f37e
7 files changed
+21
No files matched your search
@@ -6,6 +6,7 @@ export type GanttContentMoveAction =
|
||||
| "mouseleave"
|
||||
| "delete"
|
||||
| "dblclick"
|
||||
| "click"
|
||||
| "select"
|
||||
| ""
|
||||
| BarMoveAction;
|
||||
|
||||
@@ -44,6 +44,10 @@ export interface EventOption {
|
||||
* Invokes on bar double click.
|
||||
*/
|
||||
onDoubleClick?: (task: Task) => void;
|
||||
/**
|
||||
* Invokes on bar click.
|
||||
*/
|
||||
onClick?: (task: Task) => void;
|
||||
/**
|
||||
* Invokes on end and start time change. Chart undoes operation if method return false or error.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user