From: Vincent Vanwaelscappel Date: Fri, 8 Sep 2023 11:48:57 +0000 (+0200) Subject: wait #6261 @0.75 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8356f5d3a7addc81cb214df4847318b9e64ab2bd;p=fluidbook_tools.git wait #6261 @0.75 --- diff --git a/src/Links/Link.php b/src/Links/Link.php index d4bc48b..1775979 100644 --- a/src/Links/Link.php +++ b/src/Links/Link.php @@ -124,6 +124,8 @@ class Link protected $_init; + public $relatedAnimation = ''; + protected $_cssContainer = null; protected $_htmlContainer = null; @@ -572,6 +574,10 @@ class Link { $addContent = $this->getAdditionnalContent(); + if ($this->relatedAnimation) { + $addContent .= ' data-related-animation="' . $this->relatedAnimation . '"'; + } + $attached = $this->attached ? ' data-attached="' . $this->attached . '" ' : ''; return '
' . $this->getHTMLContent() . '
'; }