mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
d2e9c4b247
* feat(module: config-provider): support RTL * add rtl for each component * fix rtl for pagination * add rtl for overlay
26 lines
906 B
C#
26 lines
906 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<CascadingValue Value="this" IsFixed="@true">
|
|
<div class="@ClassMapper.Class">
|
|
<CascadingValue Value=@("shown") Name="position">
|
|
@ChildContent
|
|
</CascadingValue>
|
|
@if (_overflow)
|
|
{
|
|
<Popover Trigger="new[] { TriggerType.Hover }"
|
|
Placement=MaxPopoverPlacement
|
|
OverlayClassName="@_popoverClassMapper.Class">
|
|
<ContentTemplate>
|
|
<CascadingValue Value=@("hidden") Name="position">
|
|
@ChildContent
|
|
</CascadingValue>
|
|
</ContentTemplate>
|
|
<Unbound>
|
|
<Avatar RefBack="@context" Style=@MaxStyle>@($"+{_shownAvatarList.Count - MaxCount}")</Avatar>
|
|
</Unbound>
|
|
</Popover>
|
|
}
|
|
</div>
|
|
</CascadingValue>
|