From 345141f38ac76b18bc8df5f17431f8bc6d4d05ee Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 9 Sep 2020 17:43:48 +0300 Subject: [PATCH] readme update --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e15d8d9..f629af4 100644 --- a/README.md +++ b/README.md @@ -67,13 +67,16 @@ npm start ### EventOption -| Parameter Name | Type | Description | -| :--------------- | :-------------------------------- | :-------------------------------------------------------------------------------------- | -| onDoubleClick | (task: Task) => any | Specifies the function to be executed on the taskbar onDoubleClick event. | -| onTaskDelete | (task: Task) => void/Promise | Specifies the function to be executed on the taskbar on Delete button press event. | -| onDateChange | (task: Task) => void/Promise | Specifies the function to be executed when drag taskbar event on timeline has finished. | -| onProgressChange | (task: Task) => void/Promise | 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\* | void/boolean/Promise/Promise | Specifies the function to be executed on the taskbar on Delete button press event. | +| onDateChange\* | void/boolean/Promise/Promise | Specifies the function to be executed when drag taskbar event on timeline has finished. | +| onProgressChange\* | void/boolean/Promise/Promise | 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