hide related feature

This commit is contained in:
MaTeMaTuK committed 2021-08-09 22:21:18 +03:00
1 parent 3343a10c32
commit 49c013f3d7
12 files changed
+156 -69

No files matched your search

+6
View File
@@ -26,6 +26,7 @@ export interface Task {
isDisabled?: boolean;
project?: string;
dependencies?: string[];
hideChildren?: boolean;
}
export interface EventOption {
@@ -57,6 +58,10 @@ export interface EventOption {
* Invokes on delete selected task. Chart undoes operation if method return false or error.
*/
onDelete?: (task: Task) => void | boolean | Promise<void> | Promise<boolean>;
/**
* Invokes on expander on task list
*/
onExpanderClick?: (task: Task) => void;
}
export interface DisplayOption {
@@ -119,6 +124,7 @@ export interface StylingOption {
* Sets selected task by id
*/
setSelectedTask: (taskId: string) => void;
onExpanderClick: (task: Task) => void;
}>;
}