readme update
This commit is contained in:
parent
345141f38a
commit
bee361ed5d
16
README.md
16
README.md
@ -67,14 +67,14 @@ npm start
|
||||
|
||||
### EventOption
|
||||
|
||||
| Parameter Name | Type | Description |
|
||||
| :----------------- | :------------------------------------------ | :-------------------------------------------------------------------------------------- |
|
||||
| onSelect | (task: Task, isSelected: boolean) => void | Specifies the function to be executed on the taskbar select or unselect event. |
|
||||
| onDoubleClick | (task: Task) => void | Specifies the function to be executed on the taskbar onDoubleClick event. |
|
||||
| onTaskDelete\* | void/boolean/Promise<void>/Promise<boolean> | Specifies the function to be executed on the taskbar on Delete button press event. |
|
||||
| onDateChange\* | void/boolean/Promise<void>/Promise<boolean> | Specifies the function to be executed when drag taskbar event on timeline has finished. |
|
||||
| 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. |
|
||||
| Parameter Name | Type | Description |
|
||||
| :----------------- | :---------------------------------------------------------- | :-------------------------------------------------------------------------------------- |
|
||||
| onSelect | (task: Task, isSelected: boolean) => void | Specifies the function to be executed on the taskbar select or unselect event. |
|
||||
| onDoubleClick | (task: Task) => void | Specifies the function to be executed on the taskbar onDoubleClick event. |
|
||||
| onTaskDelete\* | (task: Task) => void/boolean/Promise<void>/Promise<boolean> | Specifies the function to be executed on the taskbar on Delete button press event. |
|
||||
| onDateChange\* | (task: Task) => void/boolean/Promise<void>/Promise<boolean> | Specifies the function to be executed when drag taskbar event on timeline has finished. |
|
||||
| onProgressChange\* | (task: Task) => void/boolean/Promise<void>/Promise<boolean> | Specifies the function to be executed when drag taskbar progress event has finished. |
|
||||
| timeStep | (task: Task) => number | A time step value for onDateChange. Specify in milliseconds. |
|
||||
|
||||
\* Chart undoes operation if method return false or error.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user