Skip to content

Commit

Permalink
docs(module:menu): fix typo (#7382)
Browse files Browse the repository at this point in the history
* docs(module:menu): fix typo

* docs(module:menu): fix typo
  • Loading branch information
yutao331763646 committed Jul 25, 2022
1 parent 4c71bdb commit 21e15e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions components/menu/doc/index.en-US.md
Expand Up @@ -38,12 +38,12 @@ import { NzMenuModule } from 'ng-zorro-antd/menu';

| Param | Description | Type | Default value |
| ----- | ----------- | ---- | ------------- |
| `[nzInlineCollapsed]` | specifies the collapsed status when menu is inline mode | `boolean` | - |
| `[nzInlineIndent]` | indent px of inline menu item on each level | `number` | `24` |
| `[nzMode]` | type of the menu; `vertical`, `horizontal`, and `inline` modes are supported | `'vertical' \| 'horizontal' \| 'inline'` | `'vertical'` |
| `[nzInlineCollapsed]` | specifies the collapsed status when menu is `inline` mode | `boolean` | - |
| `[nzInlineIndent]` | indent px of `inline` menu item on each level | `number` | `24` |
| `[nzMode]` | type of the menu; `vertical` `horizontal`, and `inline` modes are supported | `'vertical' \| 'horizontal' \| 'inline'` | `'vertical'` |
| `[nzSelectable]` | allow selecting menu items | `boolean` | `true` |
| `[nzTheme]` | color theme of the menu | `'light' \| 'dark'` | `'light'` |
| `(nzClick)` | the Output when click nz-menu-item inside nz-menu | `EventEmitter<NzMenuItemDirective>` | |
| `(nzClick)` | the Output when click `nz-menu-item` inside nz-menu | `EventEmitter<NzMenuItemDirective>` | |

### [nz-menu-item]

Expand Down Expand Up @@ -73,7 +73,7 @@ You can set the title of `[nz-submenu]` in the following ways.
| `[nzOpen]` | whether sub menu is open or not, double binding | `boolean` | `false` |
| `[nzDisabled]` | whether sub menu is disabled or not | `boolean` | `false` |
| `[nzTitle]` | set submenu title | `string \| TemplateRef<void>` | - |
| `[nzIcon]` | icon type in title | `string` | - |
| `[nzIcon]` | `icon` type in title | `string` | - |
| `[nzMenuClassName]` | Custom the submenu container's class name | `string` | - |
| `(nzOpenChange)` | nzOpen callback | `EventEmitter<boolean>` | - |

Expand Down
8 changes: 4 additions & 4 deletions components/menu/doc/index.zh-CN.md
Expand Up @@ -39,12 +39,12 @@ import { NzMenuModule } from 'ng-zorro-antd/menu';

| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| `[nzInlineCollapsed]` | inline 时菜单是否收起状态 | `boolean` | - |
| `[nzInlineIndent]` | inline 模式的菜单缩进宽度 | `number` | `24` |
| `[nzInlineCollapsed]` | `inline` 时菜单是否收起状态 | `boolean` | - |
| `[nzInlineIndent]` | `inline` 模式的菜单缩进宽度 | `number` | `24` |
| `[nzMode]` | 菜单类型,现在支持垂直、水平、和内嵌模式三种 | `'vertical' \| 'horizontal' \| 'inline'` | `'vertical'` |
| `[nzSelectable]` | 是否允许选中 | `boolean` | `true` |
| `[nzTheme]` | 主题颜色 | `'light' \| 'dark'` | `'light'` |
| `(nzClick)` | 点击 nz-menu-item 输出属性 | `EventEmitter<NzMenuItemDirective>` | |
| `(nzClick)` | 点击 `nz-menu-item` 输出属性 | `EventEmitter<NzMenuItemDirective>` | |

### [nz-menu-item]

Expand Down Expand Up @@ -74,7 +74,7 @@ import { NzMenuModule } from 'ng-zorro-antd/menu';
| `[nzOpen]` | 是否展开,可双向绑定 | `boolean` | `false` |
| `[nzDisabled]` | 是否禁用 | `boolean` | `false` |
| `[nzTitle]` | 标题内容 | `string \| TemplateRef<void>` | - |
| `[nzIcon]` | 标题中 icon 类型 | `string` | - |
| `[nzIcon]` | 标题中 `icon` 类型 | `string` | - |
| `[nzMenuClassName]` | 自定义子菜单容器类名 | `string` | - |
| `(nzOpenChange)` | 展开回调 | `EventEmitter<boolean>` | - |

Expand Down

0 comments on commit 21e15e6

Please sign in to comment.