API REFERENCE

hitTestGanttDependency

An asynchronous method. Check the argument and return types below.

Definition

typescript
hitTestGanttDependency(x: number, y: number): Promise<GanttDependencyHitDetail|null>
ArgumentsTypeRequired
xnumberRequired
ynumberRequired

Return type: Promise<GanttDependencyHitDetail|null>. Call the method after element registration and await its Promise result.