Git Product home page Git Product logo

Comments (1)

IvoLeist avatar IvoLeist commented on July 20, 2024 1

Hi DashBio developers,

the one who did the NglMoleculeViewer PR a few years ago is speaking ✌️
During my PhD I unfortunately no longer work with Dash so I do not have the expertise
(+ time to look into it)

But I guess "just" overwriting the stage.mouseControls
of the core ngl viewer see below under Mouse:
https://nglviewer.org/ngl/api/manual/interaction-controls.html
with for example:
stage.mouseControls.add("scroll-shift", NGL.MouseActions.zoom);
should be sufficient.

For more context see the issue in my repo:
IvoLeist/dash_ngl#26

from dash-bio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.