]> _ Git - fluidbook_tools.git/commitdiff
wip #6801 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 15 Mar 2024 17:26:34 +0000 (18:26 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 15 Mar 2024 17:26:34 +0000 (18:26 +0100)
src/Links/ContentLink.php

index 659b627753c920977baa4a855f59d9af4891f6ec..b23dbafc727a7f8c3e8d8e6fd80038963a854656 100644 (file)
@@ -24,6 +24,9 @@ class ContentLink extends Link
     public function getAdditionnalContent()
     {
         $res = parent::getAdditionnalContent();
+        if ($this->rollover === 'fadein') {
+            $res .= ' data-rollover-hide ';
+        }
         if ($this->allowsAnimation) {
             $animations = self::parseAnimations($this->image_rollover ?? 'none');
             foreach ($animations as $animation) {