2020-06-23 15:19:44 +08:00
|
|
|
|
@namespace AntDesign
|
|
|
|
|
@inherits AntDomComponentBase
|
|
|
|
|
|
2021-04-04 15:40:54 +08:00
|
|
|
|
@foreach (DrawerRef drawerRef in _drawerRefs)
|
2020-06-23 15:19:44 +08:00
|
|
|
|
{
|
2020-09-16 19:42:48 +08:00
|
|
|
|
var drawerConfig = drawerRef.Options;
|
2020-06-30 13:40:51 +08:00
|
|
|
|
<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"
|
|
|
|
|
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-09-16 19:42:48 +08:00
|
|
|
|
OnClose="@drawerRef.CloseAsync">
|
2020-06-23 15:19:44 +08:00
|
|
|
|
@drawerConfig.ChildContent
|
|
|
|
|
</Drawer>
|
|
|
|
|
}
|