I would like to select a object by run function instead of by mouse click. But I couldn't find the function from the docs for Fabric JS.
Asked
Active
Viewed 31 times
1 Answers
0
js
canvas.setActiveObject();
can't work in 2.0.0-beta.4 ,I solved it by change the version to 1.7.17.

user8510778
- 1
- 3
-
its working with 2.0.0-beta6, check [jsFiddle](https://jsfiddle.net/durga598/ax5mw5L1/1/). and dont put this as answer. You can add this in your question or as a comment to your question. – Durga Aug 24 '17 at 10:49