2020-06-23 15:19:44 +08:00
|
|
|
|
@namespace AntDesign
|
|
|
|
|
@inherits AntDomComponentBase
|
|
|
|
|
|
2020-06-30 13:40:51 +08:00
|
|
|
|
@foreach (DrawerRef drawerRef in _drawerRefs)
|
2020-06-23 15:19:44 +08:00
|
|
|
|
{
|
2020-06-30 13:40:51 +08:00
|
|
|
|
var drawerConfig = drawerRef.Config;
|
|
|
|
|
<Drawer @ref="@drawerRef.Drawer"
|
|
|
|
|
@key="@drawerConfig"
|
2020-06-23 15:19:44 +08:00
|
|
|
|
Content="@drawerConfig.Content"
|
|
|
|
|
Closable="@drawerConfig.Closable"
|
|
|
|
|
MaskClosable="@drawerConfig.MaskClosable"
|
|
|
|
|
Mask="@drawerConfig.Mask"
|
|
|
|
|
NoAnimation="@drawerConfig.NoAnimation"
|
|
|
|
|
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"
|
2020-06-30 13:40:51 +08:00
|
|
|
|
OnClose="@drawerRef.HandleOnCancel">
|
2020-06-23 15:19:44 +08:00
|
|
|
|
@drawerConfig.ChildContent
|
|
|
|
|
</Drawer>
|
|
|
|
|
}
|