Skip to content

Commit 9c56a25

Browse files
authored
add missing properties to itemRendere
add ` resizeTime` and `dragTime` to `itemContext` in `itemRendere`
1 parent bf5b9dc commit 9c56a25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,10 +466,12 @@ Paramters provided to the function has two types: context params which have the
466466
| `selected` | `boolean` | returns if the item is selected. |
467467
| `dragging` | `boolean` | returns if the item is being dragged |
468468
| `dragStart` | `object` | returns `x` and `y` of the start dragging point of the item. |
469+
| `dragTime` | `number` | current drag time. |
469470
| `dragGroupDelta` | `number` | returns number of groups the item moved. if negative, moving was to top. If positive, moving was to down |
470471
| `resizing` | `boolean` | returns if the item is being resized. |
471472
| `resizeEdge` | `left`, `right` | the side from which the component is being resized form |
472473
| `resizeStart` | `number` | returns the x value from where the component start moving |
474+
| `resizeTime` | `number` | current resize time |
473475
| `width` | `boolean` | returns the width of the item (same as in dimensions) |
474476

475477
##### prop getters functions

0 commit comments

Comments
 (0)