mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
3e86809a9c
* feat:Add AntTooltip * Update Tooltip.razor.cs Co-authored-by: 笨木头 <musicvs@163.com>
23 lines
738 B
Plaintext
23 lines
738 B
Plaintext
@namespace AntBlazor
|
|
@inherits OverlayTrigger
|
|
|
|
@using AntBlazor.Internal
|
|
|
|
<div class="@ClassMapper.Class" @ref="@Ref" Id="@Id" style="display: inline-flex; @Style"
|
|
@onclick="OnClickDiv"
|
|
@onmouseenter="OnTriggerMouseEnter"
|
|
@onmouseleave="OnTriggerMouseLeave"
|
|
@oncontextmenu="OnTriggerContextmenu"
|
|
@onfocusin="OnTriggerFocusIn"
|
|
@onfocusout="OnTriggerFocusOut"
|
|
@oncontextmenu:preventDefault>
|
|
@ChildContent
|
|
</div>
|
|
|
|
<CascadingValue Value="@this" Name="Trigger">
|
|
<CascadingValue Value="@ArrowPointAtCenter" Name="ArrowPointAtCenter">
|
|
<CascadingValue Value="@Title" Name="Title">
|
|
<TooltipPopup @ref="@_overlay" />
|
|
</CascadingValue>
|
|
</CascadingValue>
|
|
</CascadingValue> |