ant-design-blazor/components/modal/config/IModalTemplate.cs
TimChen 1877592211 feat(module: modal): support template component (#345)
* feat: modal support template

* feat: modal update

* feat: modal update

* feat: modal update

* feat: modal update

* docs: fix ci

* fix: demo title

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-12 23:19:55 +08:00

22 lines
533 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace AntDesign
{
public interface IModalTemplate
{
/// <summary>
/// 点击确定按钮时调用,可以重写它来放入自己的逻辑
/// </summary>
Task OkAsync(ModalClosingEventArgs args);
/// <summary>
/// 点击确定按钮时调用,可以重写它来放入自己的逻辑
/// </summary>
Task CancelAsync(ModalClosingEventArgs args);
}
}