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

Adding some events and handler #225

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

Eng-Elias
Copy link
Contributor

Hello @jjti ,

I added some features to SeqViz to increase the ability to control events triggered from elements like bases, translations and annotations where you can pass onClick, onDoubleClick, onContextMenu and onHover, then you can check the type of element and do some action. I added some example how we can use these handlers.
I also added onKeyPress event handler if developer wants to set some custom keyboard shortcuts.
I think onHover event handler will help to display more details about elements.
onContextMenu and onKeyPress will be useful to build SeqViz editor not only a viewer.

Please review my changes and give me your opinion.
I am waiting to hear from you.

Thank you to consider my pull request.
@Eng-Elias

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

Successfully merging this pull request may close these issues.

None yet

1 participant