Skip to content

Commit

Permalink
docs(module:modal): api table not showing correctly (#8334)
Browse files Browse the repository at this point in the history
  • Loading branch information
ParsaArvanehPA committed Jan 4, 2024
1 parent 74c4707 commit d788956
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/modal/doc/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import { NzModalModule } from 'ng-zorro-antd/modal';

The dialog is currently divided into 2 modes, `normal mode` and `confirm box mode` (for instance, the `Confirm` dialog, which is called by `confirm/info/success/error/warning`). The degree of API support for the two modes is slightly different.

| Property | Description | Type | Default |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | --------------------- | --- |
| Property | Description | Type | Default | Global Config |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | --------------------- | ------------- |
| `nzAfterOpen` | Specify a EventEmitter that will be emitted when modal opened | EventEmitter | - |
| `nzAfterClose` | Specify a EventEmitter that will be emitted when modal is closed completely (Can listen for parameters passed in the close/destroy method) | EventEmitter | - |
| `nzBodyStyle` | Body style for modal body element. Such as height, padding etc. | `object` | - |
Expand All @@ -37,10 +37,10 @@ The dialog is currently divided into 2 modes, `normal mode` and `confirm box mod
| `nzCancelDisabled` | Whether to disable Cancel button or not | `boolean` | `false` |
| `nzFooter` | Footer content, set as footer=null when you don't need default buttons. <i>1. Only valid in normal mode.<br>2. You can customize the buttons to the maximum extent by passing a `ModalButtonOptions` configuration (see the case or the instructions below).</i> | string<br>TemplateRef<br>ModalButtonOptions | OK and Cancel buttons |
| `nzKeyboard` | Whether support press esc to close | `boolean` | `true` |
| `nzMask` | Whether show mask or not. | `boolean` | `true` ||
| `nzMaskClosable` | Whether to close the modal dialog when the mask (area outside the modal) is clicked | `boolean` | `true` ||
| `nzCloseOnNavigation` | Whether to close the modal when the user goes backwards/forwards in history. Note that this usually doesn't include clicking on links (unless the user is using the HashLocationStrategy). | `boolean` | `true` ||
| `nzDirection` | Direction of the text in the modal | `'ltr' \| 'rtl'` | - ||
| `nzMask` | Whether show mask or not. | `boolean` | `true` | |
| `nzMaskClosable` | Whether to close the modal dialog when the mask (area outside the modal) is clicked | `boolean` | `true` | |
| `nzCloseOnNavigation` | Whether to close the modal when the user goes backwards/forwards in history. Note that this usually doesn't include clicking on links (unless the user is using the HashLocationStrategy). | `boolean` | `true` | |
| `nzDirection` | Direction of the text in the modal | `'ltr' \| 'rtl'` | - | |
| `nzMaskStyle` | Style for modal's mask element. | `object` | - |
| `nzOkText` | Text of the OK button. <i>Set to null to show no ok button (this value is invalid if the nzFooter parameter is used in normal mode)</i> | `string` | OK |
| `nzOkType` | Button type of the OK button. <i>Consistent with the `nzType` of the `nz-button`.</i> | `string` | `primary` |
Expand Down

0 comments on commit d788956

Please sign in to comment.