Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pdbe
web-components
pdb-ligand-env
Commits
766cfbcd
Commit
766cfbcd
authored
Oct 27, 2020
by
Lukas Pravda
Browse files
more docs
parent
248eddb6
Pipeline
#105528
passed with stages
in 1 minute and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
src/plugin/manager.ts
src/plugin/manager.ts
+20
-0
No files found.
src/plugin/manager.ts
View file @
766cfbcd
...
...
@@ -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
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment