简体   繁体   中英

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.

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 d suggest using the EVENT_EDITFRAME_EDITION_START and EVENT_EDITFRAME_EDITION_END events, which are triggered whenever a markup is being modified.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM