mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 01:11:52 +08:00
db64810a20
* refactor: change confirm return * feat(module: drawer): add DrawerService * fix: change type EventCallback in configs to Func * fix: typo Co-authored-by: ElderJames <shunjiey@hotmail.com>
28 lines
1023 B
C#
28 lines
1023 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
@foreach (DrawerConfig drawerConfig in _drawerConfigs)
|
|
{
|
|
<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="@drawerConfig.HandleOnClose">
|
|
@drawerConfig.ChildContent
|
|
</Drawer>
|
|
}
|