Skip to content

Commit 226b8d0

Browse files
Merge pull request #42 from mlakatkou/GS-3365
[update] oneventdrag article
2 parents e762d49 + bc41c47 commit 226b8d0

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/api/event/oneventdrag.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: "fires when the user drags/resizes events in the scheduler"
1010

1111
@short: Fires when the user drags/resizes events in the scheduler
1212

13-
@signature: onEventDrag: (id: string, mode: string, ev: Event) =\> void;
13+
@signature: onEventDrag: (id: string, mode: string, e: Event) =\> void;
1414

1515
### Parameters
1616

@@ -21,8 +21,8 @@ description: "fires when the user drags/resizes events in the scheduler"
2121
### Example
2222

2323
~~~jsx
24-
scheduler.attachEvent("onEventDrag", function (id, mode, e){
25-
//any custom logic here
24+
scheduler.attachEvent("onEventDrag", (id, mode, e) => {
25+
// any custom logic here
2626
});
2727
~~~
2828

@@ -34,6 +34,6 @@ scheduler.attachEvent("onEventDrag", function (id, mode, e){
3434

3535
Modes description:
3636

37-
- **move** - the user drags the event over the scheduler.
38-
- **resize** - the user resizes the event by drag-and-drop.
39-
- **new-size** - the user creates a new event by drag-and-drop.
37+
- `move` - the user drags the event over the Scheduler
38+
- `resize` - the user resizes the event by drag-and-drop
39+
- `new-size` - the user creates a new event by drag-and-drop

0 commit comments

Comments
 (0)