Skip to content

Listen to specific attribute change on cell/element event via on('change:attrs') #1754

Answered by BigPackie
BigPackie asked this question in Q&A
Discussion options

You must be logged in to vote

Changing the property changed to changedData allows me to track changes, as changed is a reserved property handled by jointjs.

Is there a better way, something like change:[path to the changed property] but on dia.Element class ?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@BigPackie
Comment options

@kumilingus
Comment options

@BigPackie
Comment options

Answer selected by BigPackie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants