Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'id' property in onSelection event callback #277

Open
slavisharper opened this issue Dec 12, 2024 · 0 comments
Open

Add 'id' property in onSelection event callback #277

slavisharper opened this issue Dec 12, 2024 · 0 comments

Comments

@slavisharper
Copy link

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", }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant