We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07e4fc8 + fbe4629 commit 1214c07Copy full SHA for 1214c07
1 file changed
docs/api/template/task_class.md
@@ -14,17 +14,17 @@ description: "specifies the CSS class that will be applied to task bars"
14
15
### Parameters
16
17
-- `start` - (required) *Date* - the date when a task is scheduled to begin
+- `start` - (required) *Date* - the date when a task is scheduled to begin
18
- `end` - (required) *Date* - the date when a task is scheduled to be completed
19
- `task` - (required) *Task* - the task object
20
21
### Returns
22
-- ` text` - (string | void) - a CSS class for the item in question
+- `text` - (string | void) - a CSS class for the item in question
23
24
### Example
25
26
~~~jsx
27
-gantt.templates.task_class = function(start, end, task){return "";};
+gantt.templates.task_class = (start, end, task) => '';
28
~~~
29
30
### Related Guides
0 commit comments