Skip to content
Snippets Groups Projects
Commit 766cfbcd authored by Lukas Pravda's avatar Lukas Pravda
Browse files

more docs

parent 248eddb6
No related branches found
No related tags found
No related merge requests found
Pipeline #105528 passed with stages
in 1 minute and 22 seconds
......@@ -84,6 +84,13 @@ class Visualization {
}
/**
* Handle molstar click event. Makes interaction node highlight
*
* @private
* @param {*} e Data pased by molstar component
* @memberof Visualization
*/
private molstarClickEventHandler(e: any) {
if (this.fullScreen) return;
......@@ -101,6 +108,13 @@ class Visualization {
}
/**
* Handles mouse leave molstar event. Removes interaction node highlight
*
* @private
* @memberof Visualization
*/
private molstarMouseoutEventHandler() {
if (this.fullScreen) return;
......@@ -350,6 +364,12 @@ class Visualization {
// #region menu functions
/**
* Export scene into an SVG components. It relies on the availability
* of the external CSS for SVG styling. Otherwise it does not work.
*
* @memberof Visualization
*/
public saveSvg() {
d3.text(Resources.ligEnvCSSAPI(this.environment))
.then(x => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment