You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,6 +162,10 @@ An array specifying keys in the `items` and `groups` objects. Defaults to
162
162
}
163
163
```
164
164
165
+
## className
166
+
167
+
Additional class names as a string for the root Timeline element.
168
+
165
169
## sidebarWidth
166
170
167
171
Width of the sidebar in pixels. If set to `0`, the sidebar is not rendered. Defaults to `150`.
@@ -300,11 +304,11 @@ Called when the item is clicked by the right button of the mouse. `time` is the
300
304
301
305
Called when an empty spot on the canvas was clicked. Get the group ID and the time as arguments. For example open a "new item" window after this.
302
306
303
-
## onCanvasDoubleClick(group, time, e)
307
+
## onCanvasDoubleClick(groupId, time, e)
304
308
305
-
Called when an empty spot on the canvas was double clicked. Get the group and the time as arguments.
309
+
Called when an empty spot on the canvas was double clicked. Get the group ID and the time as arguments.
306
310
307
-
## onCanvasContextMenu(group, time, e)
311
+
## onCanvasContextMenu(groupId, time, e)
308
312
309
313
Called when the canvas is clicked by the right button of the mouse. Note: If this property is set the default context menu doesn't appear
310
314
@@ -431,7 +435,8 @@ Rather than applying props on the element yourself and to avoid your props being
431
435
* onTouchEnd: event handler
432
436
* onDoubleClick: event handler
433
437
* onContextMenu: event handler
434
-
* style: inline object style
438
+
* style: inline object
439
+
435
440
436
441
\*\*_the given styles will only override the styles that are not a requirement for positioning the item. Other styles like `color`, `radius` and others_
437
442
@@ -1258,7 +1263,7 @@ $ yarn start
1258
1263
1259
1264
Check http://0.0.0.0:8888/ in your browser and have fun!
1260
1265
1261
-
Please run `npm run lint` before you send a pull request. `npm run jest` runs the tests.
1266
+
Please run `npm run lint` before you send a pull request. `npm run test` runs the jest tests.
0 commit comments