mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 01:11:52 +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>
20 lines
779 B
C#
20 lines
779 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<DialogWrapper @ref="_dialogWrapper"
|
|
Config="@BuildDialogOptions()"
|
|
Visible="@Visible"
|
|
DestroyOnClose="@DestroyOnClose"
|
|
OnAfterShow="@OnAfterDialogShow"
|
|
OnAfterHide="@OnAfterHide"
|
|
OnBeforeDestroy="@OnBeforeDialogWrapperDestroy"
|
|
Style="@Style">
|
|
<CascadingValue Value=@($"#ant-modal-wrap_{_dialogWrapper.Id}") Name="PopupContainerSelector">
|
|
<CascadingValue Value="true" Name="InModal">
|
|
<CascadingValue Value="@_dialogWrapper.Dialog.IsShow()" Name="ModalCompleteShow">
|
|
@ChildContent
|
|
</CascadingValue>
|
|
</CascadingValue>
|
|
</CascadingValue>
|
|
</DialogWrapper>
|