mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
477c57f9db
* feat(module: table): allow access to filter operator and condition * feat(module: table): allow access to filter operator and condition * feat(module:table): allow remove the first filter * Update Column.razor * feat(module:table): modify closing button position * feat(module:table): match new style * feat(module:table): add header column divider * fix(module:table): apply filter when close the filter panel by clicking the filter icon * Update Column.razor * style(module:table): trim Column.razor * Update Column.razor * Update Column.razor * Update Column.razor * Update Column.razor * fix(module:overlaytrigger): fix overlay not close after overlay size changes * unify muiltiple filter popup containers to one
27 lines
807 B
C#
27 lines
807 B
C#
@namespace AntDesign.Internal
|
|
@inherits OverlayTrigger
|
|
|
|
@{
|
|
string prefixCls = $"{SubMenuComponent.RootMenu.PrefixCls}-submenu";
|
|
}
|
|
<li class="@TriggerClass"
|
|
role="menuitem"
|
|
style="position:relative;@SubMenuComponent.Style"
|
|
@key="SubMenuComponent.Key"
|
|
@ref="@Ref"
|
|
@onclick="OnClickDiv"
|
|
@onmouseenter="OnTriggerMouseEnter"
|
|
@onmouseleave="OnTriggerMouseLeave"
|
|
@oncontextmenu="OnTriggerContextmenu"
|
|
@oncontextmenu:preventDefault>
|
|
@ChildContent
|
|
</li>
|
|
|
|
<CascadingValue Value="this" Name="Trigger">
|
|
<Overlay @ref="_overlay"
|
|
OverlayChildPrefixCls="@($"{prefixCls}-menu")"
|
|
OnOverlayMouseEnter="OnOverlayMouseEnter"
|
|
OnOverlayMouseLeave="OnOverlayMouseLeave"
|
|
OnOverlayMouseUp="OnOverlayMouseUp" />
|
|
</CascadingValue>
|