From: Vincent Vanwaelscappel Date: Fri, 15 Mar 2024 17:26:34 +0000 (+0100) Subject: wip #6801 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=27d7719a3dceda4e87e437867d1f1d135badf78d;p=fluidbook_tools.git wip #6801 @0.5 --- diff --git a/src/Links/ContentLink.php b/src/Links/ContentLink.php index 659b627..b23dbaf 100644 --- a/src/Links/ContentLink.php +++ b/src/Links/ContentLink.php @@ -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) {