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

On deactivated event?

$
0
0

@marin wrote:

Is it possible to detect when a LinkingTool doDeactivate() method has finished if no link has been drawn (i.e. the user has quit drawing the link)?
I'm asking because I want to remove some LinkLabel nodes in case the user quits drawing the link.

I know that a RolledBackTransaction occurs, but from the documentation: "As a general rule, you should not make any changes to the model or any of its data in a listener for any Transaction ChangedEvent."

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles