mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
9739cd4161
* fix: unexpected behavior of Drawer(#1749) 1. The scroll bar of the body is enabled after closing one of the multiple drawers 2. Bad parameter NoAnimation. * chore: remove debug output * chore: add comments for ComponentStatus * fix: different behaviors in WASM and Server modes * chore: remove debug output
29 lines
1.0 KiB
C#
29 lines
1.0 KiB
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
@foreach (DrawerRef drawerRef in _drawerRefs)
|
|
{
|
|
var drawerConfig = drawerRef.Options;
|
|
<Drawer @ref="@drawerRef.Drawer"
|
|
@key="@drawerConfig"
|
|
Content="@drawerConfig.Content"
|
|
Closable="@drawerConfig.Closable"
|
|
MaskClosable="@drawerConfig.MaskClosable"
|
|
Mask="@drawerConfig.Mask"
|
|
Keyboard="@drawerConfig.Keyboard"
|
|
Title="@drawerConfig.Title"
|
|
Placement="@drawerConfig.Placement"
|
|
MaskStyle="@drawerConfig.MaskStyle"
|
|
BodyStyle="@drawerConfig.BodyStyle"
|
|
WrapClassName="@drawerConfig.WrapClassName"
|
|
Width="@drawerConfig.Width"
|
|
Height="@drawerConfig.Height"
|
|
ZIndex="@drawerConfig.ZIndex"
|
|
OffsetX="@drawerConfig.OffsetX"
|
|
OffsetY="@drawerConfig.OffsetY"
|
|
Visible="@drawerConfig.Visible"
|
|
OnClose="@drawerRef.CloseAsync">
|
|
@drawerConfig.ChildContent
|
|
</Drawer>
|
|
}
|