ant-design-blazor/components/modal/ComfirmContainer.razor
zxyao 6bf817d1ea feat(module: modal): support creating Modal dialog from ModalService (#676)
* refactor: change the name of ModalRef to ConfirmRef

in order to create a Modal dialog in service mode

BREAKING CHANGE: all using of ModalRef must rename to ConfirmRef

* refactor: chang the name of ModalTemplate to ConfirmTemplate

in order to create a Modal dialog in service mode

BREAKING CHANGE: all using of ModalTemplate must rename to ConfirmTemplate

* feat(module: modal): support creating Modal dialog from ModalService

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-14 15:09:11 +08:00

9 lines
230 B
C#

@namespace AntDesign
@inherits AntDomComponentBase
@foreach (ConfirmRef modalRef in _modalRefs)
{
var modalConfig = modalRef.Config;
<ConfirmDialog @key="@modalConfig" ConfirmRef="@modalRef" Config="@modalConfig" />
}