ToolTip
Description
This component represents a tooltip manager in Blazor using the Gap.Blazor.ToolTip model. It integrates with the Telerik Tooltip component to enable tooltip behavior for elements marked with the .webmap-tooltip CSS class. The tooltip is conditionally rendered based on the model’s Active property.
Usage
<WMStyleBase model=@toolTip></WMStyleBase>
@if (this.toolTip.Active)
{
<TelerikTooltip TargetSelector=".webmap-tooltip" />
}
Properties
toolTip: Instance of the
Gap.Blazor.ToolTipmodel.Active: Boolean indicating whether the tooltip system is enabled.
Dynamic Rendering
TelerikTooltip: Only rendered when
toolTip.Activeistrue.TargetSelector: Applies tooltip behavior to all elements with the
.webmap-tooltipclass.
Last updated