adding multiple titles to elements within same xf:button

Status
This content is read-only, or is not open for further replies.

KSA

Guest
offline
I am trying to add a title for data-sk-follow and another title for data-sk-unfollow but struggled to do that. Here is my code, any advice would be much appreciated

HTML:

Code:
<xf:if is="$user is not empty AND $xf.visitor.canFollowUser($user)">
                <xf:button href="{{ link('members/follow', $user) }}"
                    class="button--link"
                    data-xf-click="switch"
                    data-sk-follow= "addClass:fa-bell,removeClass:fa-bell-slash,"...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom