FabricJS double click on objects
问题 I am trying to perform a special action whenever the user double clicks any object located inside the canvas. I have read the docs and not found any mouse:dblclick -like event in the documentation. I tried doing something like: fabric.util.addListener(fabric.document, 'dblclick', callback); Which does trigger the dblclick event but does not give specific information about the actual object that is being clicked on the canvas. Any ideas of the most FabricJS-y way of doing this? 回答1: The more