Hello,
I have the tooltip on a node defined as follows:
toolTip: $go(go.Adornment, “Auto”,
$go(go.Shape, { fill: “#CCFFCC” }),
$go(go.TextBlock, { margin: 4 }, new go.Binding(“text”, “description”)))
The thing is, the property “description” may sometimes be an empty string, and in such a case I would want to avoid showing the tooltip (it shows up as a green rectangle in this example).
How would I do that?
Thanks,
Marc.