API REFERENCE

undoDrawing

undo the last drawing change.

Definition

typescript
undoDrawing(): Promise<DrawingsChangeEventDetail | null>

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