From 8356f5d3a7addc81cb214df4847318b9e64ab2bd Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 8 Sep 2023 13:48:57 +0200 Subject: [PATCH] wait #6261 @0.75 --- src/Links/Link.php | 6 ++++++ 1 file changed, 6 insertions(+) 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() . '
'; } -- 2.39.5