Quantcast
Channel: Northwoods Software - Latest topics
Viewing all articles
Browse latest Browse all 7406

How to add Listener to Diagram.lastInput

$
0
0

@ebbnormal wrote:

Hello. I am trying to add an Event Listener which would be called everytime diagram.lastInput's value is changed.

It would probably look like:

diagram.addModelChangedListener()

except this would be listening to changes on the Diagram itself and not just the diagram model.

P.s. the reason why I want to capture everytime lastInput changes is to create a handler for hovering over a particular targetObject which is returned and set to the InputEvent register in diagram.lastInput if that helps give you a larger context.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7406