Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Setting selectionChanged of a link template

$
0
0

@chabbey wrote:

I want to define a linkTemplate like that

 this.diagram.linkTemplate = _$(go.Link,....

and then do

this.diagram.linkTemplate.selectionChanged = function(part)

It does not seems to work. I know that if i put the selection handler directly in the link template, it works, but i would like to keep these 2 stuff separated. Is there a way to do it ?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles