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