I would like to be able to do something like the following - cause the tooltip to close from my code:
<TelerikTooltip TargetSelector="#tooltip1" ShowOn="@TooltipShowEvent.Click" @ref="@TooltipRef">
<Template>
Content Here
<button type="button" class="btn btn-primary" @onclick="tipClose">Save</button>
</Template>
</TelerikTooltip>
<a href="#" id="tooltip1" class="btn btn-secondary">open</a>
@code{
Telerik.Blazor.Components.TelerikTooltip TooltipRef { get; set; }
void tipClose()
{
// TooltipRef ?
}
}
Is there a way to add some delay to the TelerikTooltip component show event? I would like to force the user to hover in the element for a couple of seconds before he can see the tooltip.
Like in the ajax tooltip demo.
1. Place two spans with titles right next to each other.
2. Add Telerik Tooltip with target span[title]
3. Hover over first span -> Tooltip is displayed correctly
4. Move Mouse Cursor from first span to second span -> Tooltip of second span is displayed twice: Once at correct position and once at top left of screen.