Closed migmira closed 5 years ago
Are you installing it through npm/yarn or using the UMD file?
If you were also using the example file in the repo, just change the class init to new CanvasFreeDrawing.default()
.
Hope this fix the problem, thank you for the bug report!
The example code does not work, it throws the following error:
Uncaught TypeError: CanvasFreeDrawing is not a constructor