Skip to content

Commit 4aee9d7

Browse files
Merge pull request #32 from mlakatkou/GS-3355
[update] event_bar_text article
2 parents ce32315 + 7d09f0c commit 4aee9d7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/api/template/event_bar_text.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ description: "specifies the event's text. Applied to multi-day events only"
1414

1515
### Parameters
1616

17-
- `start` - (required) *Date* - the date when an event is scheduled to begin
17+
- `start` - (required) *Date* - the date when an event is scheduled to begin
1818
- `end` - (required) *Date* - the date when an event is scheduled to be completed
1919
- `event` - (required) *object* - the event's object
2020

2121
### Returns
22-
- ` text` - (string) - html text for rendering in the scheduler
22+
- `text` - (string) - HTML text for rendering in the Scheduler
2323

2424
### Example
2525

2626
~~~jsx
27-
scheduler.templates.event_bar_text = function(start,end,event){
28-
return event.text;
27+
scheduler.templates.event_bar_text = (start, end, event) => {
28+
return event.text;
2929
};
3030
~~~
3131

0 commit comments

Comments
 (0)