@cg_fd wrote:
Hey,
I want to setup a
mouseDown
handler for nodes within adiagram
. I've set up the template using the following approach:$(go.Node, 'Auto', { isActionable: true, actionDown: function () { //Dance like a ninja ;) } } $(go.Shape, 'Rectangle', { fill: '#FFF', width: 10, height: 10 }), new go.Binding('location', 'latlong', calcDiagramLocation.bind(this, map)) );
But this approach has the effect, that the default behavior of selecting the node won't be executed. I simply want to add additional behavior.
Posts: 4
Participants: 2