Skip to content

Commit 1214c07

Browse files
Merge pull request #71 from mlakatkou/GS-3311
[update] task_class article
2 parents 07e4fc8 + fbe4629 commit 1214c07

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/api/template/task_class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ description: "specifies the CSS class that will be applied to task bars"
1414

1515
### Parameters
1616

17-
- `start` - (required) *Date* - the date when a task is scheduled to begin
17+
- `start` - (required) *Date* - the date when a task is scheduled to begin
1818
- `end` - (required) *Date* - the date when a task is scheduled to be completed
1919
- `task` - (required) *Task* - the task object
2020

2121
### Returns
22-
- ` text` - (string | void) - a CSS class for the item in question
22+
- `text` - (string | void) - a CSS class for the item in question
2323

2424
### Example
2525

2626
~~~jsx
27-
gantt.templates.task_class = function(start, end, task){return "";};
27+
gantt.templates.task_class = (start, end, task) => '';
2828
~~~
2929

3030
### Related Guides

0 commit comments

Comments
 (0)