API REFERENCE
getTask
An asynchronous method. Check the argument and return types below.
Definition
getTask(index: number): Promise<GanttTask | null>| Arguments | Type | Required |
|---|---|---|
index | number | Required |
Return type: Promise<GanttTask | null>. Call the method after element registration and await its Promise result.
- GanttTask
Type definition