mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-14 17:01:18 +08:00
31aac9f914
* refactor: support to use the same template for confirm and modal * refactor: support to use the same template for drawer * refactor: separate interface IOkCancelRef * chore: modify EventUtil class summary Co-authored-by: James Yeung <shunjiey@hotmail.com>
30 lines
1.1 KiB
C#
30 lines
1.1 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"
|
|
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"
|
|
OnClose="@drawerRef.CloseAsync">
|
|
@drawerConfig.ChildContent
|
|
</Drawer>
|
|
}
|