API REFERENCE

clearDrawings

clear the drawing document (undoable).

Definition

typescript
clearDrawings(): Promise<DrawingsChangeEventDetail | null>

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