Jonah
Jonah

Reputation: 63

Some MarkupsCore event not firing

The event EVENT_MARKUP_DRAGGING for MarkupsCore, as documented here is not working when I do ext.addEventListener('EVENT_MARKUP_DRAGGING', function(ev){console.log('run')});

I have other events working such as EVENT_EDITMODE_CHANGED and EVENT_MARKUP_SELECTED & EVENT_EDITFRAME_EDITION_START. But the dragging event doesn't work, it seems completely broken.

Am I doing somehting wrong here? I am trying to update my server every time a markups is moved.

Upvotes: 2

Views: 79

Answers (1)

Eason Kang
Eason Kang

Reputation: 7115

Refer to https://stackoverflow.com/a/63992921,

The EVENT_MARKUP_DRAGGING is no longer triggered, and our engineering team confirmed it's a legacy.

So, we'd suggest using the EVENT_EDITFRAME_EDITION_START and EVENT_EDITFRAME_EDITION_END events, which are triggered whenever a markup is being modified.

Upvotes: 2

Related Questions