SyncMadeEasy/force-app/main/default/lwc/tooltip/tooltip.html

27 lines
709 B
HTML

<template>
<span
class="helptext-wrapper"
aria-describedby="helptext-tooltip">
<!-- Help Icon -->
<span class="info-dot">i</span>
<!-- Tooltip -->
<div
id="helptext-tooltip"
class="sw-tooltip"
role="tooltip">
<div class="sw-tooltip__content">
{titleValue}
<template lwc:if={link}>
<a
href={link}
target="_blank"
class="slds-text-link slds-m-left_xxx-small">
click here
</a>
</template>
</div>
</div>
</span>
</template>