dsehnal / LiteMol

A library/plugin for handling 3D structural molecular data (not only) in the browser.
Other
157 stars 38 forks source link

Is it possible to load by a mouseover event a label from annotation? #67

Open daenbol opened 3 years ago

daenbol commented 3 years ago

Is it possible in a Litemol to load by a mouseover event a label from annotation? Not just a custom one image Something like here from Mol* image

dsehnal commented 3 years ago

Yes, Mol* builds a lot on what was done in LiteMol. In LiteMol it's done by registering additional https://github.com/dsehnal/LiteMol/blob/master/src/lib/Bootstrap/Interactivity/Highlight.ts.

I would recommend you use Mol* instead of LiteMol tho.