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
{{ message }}
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.
hi!
I am new to this framework. I like it a lot - thanx for sharing it!
I want to make annotation rectangles clickable.
I first tried to add a mouseup event to the canvas and if the popup is visible then trigger the click event from the edit button. unfortunately this is not working because the rectangle is removed due to the
this._viewer.removeAnnotation(annotation);
in editAnnotation() from image.annotator
I then thought about overriding editAnnotation, adding a sceond parameter 'shouldRemoveRect' or something, but I don't know how to reach _viewver since it is private.
it may be that I did not understand the construction of the framework correctly. Could you please give me a hint how to solve this?
thnx!
The text was updated successfully, but these errors were encountered:
headkit
changed the title
How to override in plugin
How to override editAnnotation from from image.annotator inside plugin
Apr 24, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hi!
I am new to this framework. I like it a lot - thanx for sharing it!
I want to make annotation rectangles clickable.
I first tried to add a mouseup event to the canvas and if the popup is visible then trigger the click event from the edit button. unfortunately this is not working because the rectangle is removed due to the
this._viewer.removeAnnotation(annotation);
in editAnnotation() from image.annotator
I then thought about overriding editAnnotation, adding a sceond parameter 'shouldRemoveRect' or something, but I don't know how to reach _viewver since it is private.
it may be that I did not understand the construction of the framework correctly. Could you please give me a hint how to solve this?
thnx!
The text was updated successfully, but these errors were encountered: