You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we expand the returned object in onSuccess callback to include the annotation 'id' if it is passed in the annotations array?
For example, I have this annotations passed: [{ start: 23, end: 273, name: "GFP", id: 1 }]
Then I expect to get this identifier in the onSelection callback: { "id": 1 "end": 273, "length": 250 "name": "GFP", "start": 23, "type": "ANNOTATION", }
The text was updated successfully, but these errors were encountered:
Can we expand the returned object in
onSuccess
callback to include the annotation 'id' if it is passed in the annotations array?For example, I have this annotations passed:
[{
start: 23, end: 273, name: "GFP", id: 1}]
Then I expect to get this identifier in the onSelection callback:
{ "id": 1 "end": 273, "length": 250 "name": "GFP", "start": 23, "type": "ANNOTATION", }
The text was updated successfully, but these errors were encountered: