From 4b207ed63dc093ebcb4fda4383725d012ee7e5be Mon Sep 17 00:00:00 2001 From: Nickbing Lao Date: Thu, 31 Aug 2017 16:16:57 +0800 Subject: [PATCH] docs(module:modal): add open & close & setConfirmLoading property (#165) relate pr #125 --- src/showcase/nz-demo-modal/nz-demo-modal.html | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/showcase/nz-demo-modal/nz-demo-modal.html b/src/showcase/nz-demo-modal/nz-demo-modal.html index 2d8b7c9a0ee..359e5657fe0 100644 --- a/src/showcase/nz-demo-modal/nz-demo-modal.html +++ b/src/showcase/nz-demo-modal/nz-demo-modal.html @@ -210,6 +210,27 @@

API - + + open + 显示对话框方法 + Function + 可以通过 #modal.open() 显示对话框,等同于 nzVisible = true + - + + + close + 关闭对话框方法 + Function + 可以通过 #modal.close() 关闭对话框,等同于 nzVisible = false + - + + + setConfirmLoading + 设置确定按钮 loading 状态方法 + Function + 可以通过 #modal.setConfirmLoading(true) 设置确定按钮 loading 状态显示,参数为 false 则隐藏loading,等同于 nzConfirmLoading + - +

NzModalService.xxx()