I have this html element:
<a href="javascript:">Link text</a>
I want to add data-tooltip and title attributes dynamically by condition:
<a href="javascript:" data-toggle="tooltip" title="Some tooltip text">Link text</a>
Is there any way in VueJS to add multiple dynamic attributes at same time:
<!-- instead of this: -->
<a href="javascript:" :data-toggle="computedPropTooltipToggle" :title="computedPropTooltipTitle">Link text</a>
<!-- something like this: -->
<a href="javascript:" ...tooltipAttributes >Link text</a>