Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Infospot conainter appearance #392

Open
Levan777 opened this issue Apr 13, 2022 · 0 comments
Open

Infospot conainter appearance #392

Levan777 opened this issue Apr 13, 2022 · 0 comments

Comments

@Levan777
Copy link

Hi fellow members of this beautiful project!!

First of all, thanks for making this software. I'm just trying to make more smooth appearance of the infospot container on hover. Yet I can't find it in documentations nor can't do it myself without messing up an original script. Can you guys help me achieve this? I would like contents of the infospot to show up smoothly (like from opacity 0 to opacity 1) when I hover or click on infospot. So far, I managed to do so by adding additional code in js file like:

onHoverStart: function(a) { ... g.classList.add('active'); } ...
and then write some keyframes in CSS.

but it works only on hover. eg I can't find way to do the same in opposite direction. It simply disappears because of display: none directive in the original script.

Any ideas?

thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant