readme update

This commit is contained in:
unknown 2020-09-09 17:43:48 +03:00
parent 270131067c
commit 345141f38a

View File

@ -67,13 +67,16 @@ npm start
### EventOption ### EventOption
| Parameter Name | Type | Description | | Parameter Name | Type | Description |
| :--------------- | :-------------------------------- | :-------------------------------------------------------------------------------------- | | :----------------- | :------------------------------------------ | :-------------------------------------------------------------------------------------- |
| onDoubleClick | (task: Task) => any | Specifies the function to be executed on the taskbar onDoubleClick event. | | onSelect | (task: Task, isSelected: boolean) => void | Specifies the function to be executed on the taskbar select or unselect event. |
| onTaskDelete | (task: Task) => void/Promise<any> | Specifies the function to be executed on the taskbar on Delete button press event. | | onDoubleClick | (task: Task) => void | Specifies the function to be executed on the taskbar onDoubleClick event. |
| onDateChange | (task: Task) => void/Promise<any> | Specifies the function to be executed when drag taskbar event on timeline has finished. | | onTaskDelete\* | void/boolean/Promise<void>/Promise<boolean> | Specifies the function to be executed on the taskbar on Delete button press event. |
| onProgressChange | (task: Task) => void/Promise<any> | Specifies the function to be executed when drag taskbar progress event has finished. | | onDateChange\* | void/boolean/Promise<void>/Promise<boolean> | Specifies the function to be executed when drag taskbar event on timeline has finished. |
| timeStep | number | A time step value for onDateChange. Specify in milliseconds. | | onProgressChange\* | void/boolean/Promise<void>/Promise<boolean> | Specifies the function to be executed when drag taskbar progress event has finished. |
| timeStep | number | A time step value for onDateChange. Specify in milliseconds. |
\* Chart undoes operation if method return false or error.
### DisplayOption ### DisplayOption