-
Notifications
You must be signed in to change notification settings - Fork 30
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
Get selection programatically #85
Comments
I also had the silimar question: get which one residues is hovered now? I am looking at https://rcsb.org/3d-view/ to get some clue. |
PDBe Molstar does not provide helper functions for this. But it is achievable via core Molstar functionality. You can add listeners for highlight (when the user hovers a residue) and select (when the user clicks a residue while in Selection Mode):
Getting useful info from |
If you meant getting residues that you have previously selected via |
I'm looking for a way to programmatically access the currently selected residues. I checked the methods in
viewerInstance.visual
but there was no obvious way of getting a data object.The text was updated successfully, but these errors were encountered: