Skip to content

Commit

Permalink
docs(module:modal): add open & close & setConfirmLoading property (#165)
Browse files Browse the repository at this point in the history
relate pr #125
  • Loading branch information
giscafer authored and vthinkxie committed Aug 31, 2017
1 parent 0f87f6c commit 4b207ed
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/showcase/nz-demo-modal/nz-demo-modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,27 @@ <h2 id="API"><span>API</span>
<td></td>
<td>-</td>
</tr>
<tr>
<td>open</td>
<td>显示对话框方法</td>
<td>Function</td>
<td>可以通过 <code> #modal.open() </code>显示对话框,等同于<code> nzVisible = true </code></td>
<td>-</td>
</tr>
<tr>
<td>close</td>
<td>关闭对话框方法</td>
<td>Function</td>
<td>可以通过 <code> #modal.close() </code>关闭对话框,等同于<code> nzVisible = false </code></td>
<td>-</td>
</tr>
<tr>
<td>setConfirmLoading</td>
<td>设置确定按钮 loading 状态方法</td>
<td>Function</td>
<td>可以通过 <code> #modal.setConfirmLoading(true) </code> 设置确定按钮 loading 状态显示,参数为 false 则隐藏loading,等同于<code> nzConfirmLoading</code> </td>
<td>-</td>
</tr>
</tbody>
</table>
<h2 id="NzModalService_xxx"><span>NzModalService.xxx()</span>
Expand Down

0 comments on commit 4b207ed

Please sign in to comment.