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.
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!