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

LinkingTool.temporaryLink and Bindings

$
0
0

@catface wrote:

hi,

if I do this:

goDiagram.toolManager.linkingTool.archetypeLinkData = { label: pathName };
goDiagram.toolManager.linkingTool.temporaryLink = createGoTemporaryLinkTemplate();
goDiagram.currentTool = goDiagram.toolManager.linkingTool;
goDiagram.toolManager.linkingTool.doActivate();

and in the createGoTemporaryLinkTemplate() method I create a link object that has some properties that bind to 'label' and also some properties that have binding with .ofModel() set...

why don't those binding work? :(

I can live with not having bindings to archetypeLinkData... but I would much prefer to be able to have model bindings in there...

thanks

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles