Skip to content

Add 'id' property in onSelection event callback #277

@slavisharper

Description

@slavisharper

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions