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

The location of the TextBlock

$
0
0

@kingo wrote:

if my Node template has:

  myDiagram.linkTemplate =
  $(go.Node, . . .
    $(go.TextBlock,
     new go.Binding("location", "text_loc", go.Point.parse).makeTwoWay(go.Point.stringify)),
    . . .);

Then when initializing the DataInspector properties , could I include this property descriptor?

 "text_loc": { show: Inspector.showIfNode,type: 'point'}


I need to save the location of the TextBlock.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles