@@ -19,24 +19,24 @@ import { NzTypographyModule } from 'ng-zorro-antd/typography';
19
19
20
20
## API
21
21
22
- ### [ nz-typography]
22
+ ### [ nz-typography] : standalone
23
23
24
- | Property | Description | Type | Default | Global Config |
25
- | -------- | ----------- | ---- | ------- | ------------- |
26
- | ` [nzContent] ` | Component content | ` string ` | - | |
27
- | ` [nzCopyable] ` | Can copy, require use ` [nzContent] ` | ` boolean ` | ` false ` | |
28
- | ` [nzEditable] ` | Editable, require use ` [nzContent] ` | ` boolean ` | ` false ` | |
29
- | ` [nzCopyIcons] ` | Custom copy icons | ` [string \| TemplateRef<void>, string \| TemplateRef<void>] ` | ` ['copy', 'check'] ` | ✅ |
30
- | ` [nzCopyTooltips] ` | Custom tooltips text, hide when it is ` null ` | ` null \| [string \| TemplateRef<void>, string \| TemplateRef<void>] ` | - | ✅ |
31
- | ` [nzEditIcon] ` | Custom edit icon | ` string \| TemplateRef<void> ` | ` 'edit' ` | ✅ |
32
- | ` [nzEditTooltip] ` | Custom tooltip text, hide when it is ` null ` | ` null \| string \| TemplateRef<void> ` | - | ✅ |
33
- | ` [nzEllipsis] ` | Display ellipsis when overflow, require use ` [nzContent] ` when dynamic content | ` boolean ` | ` false ` | |
34
- | ` [nzSuffix] ` | The text suffix when used ` nzEllipsis ` | ` string ` | - | |
35
- | ` [nzCopyText] ` | Customize the copy text | ` string ` | - | |
36
- | ` [nzDisabled] ` | Disable content | ` boolean ` | ` false ` | |
37
- | ` [nzExpandable] ` | Expandable when ellipsis | ` boolean ` | ` false ` | |
38
- | ` [nzEllipsisRows] ` | Line number | ` number ` | ` 1 ` | ✅ |
39
- | ` [nzType] ` | Content type | ` 'secondary' \| 'warning' \| 'danger' \| 'success' ` | - | |
40
- | ` (nzContentChange) ` | Trigger when user edit the content | ` EventEmitter<string> ` | - | |
41
- | ` (nzExpandChange) ` | Trigger when user expanded the content | ` EventEmitter<void> ` | - | |
42
- | ` (nzOnEllipsis) ` | Trigger when ellipsis status changed | ` EventEmitter<boolean> ` | - | |
24
+ | Property | Description | Type | Default | Global Config |
25
+ | ------------------- | ------------------------------------------------------------------------------ | -------------------------------------------------------------------- | ------------ ------- | ------------- |
26
+ | ` [nzContent] ` | Component content | ` string ` | - | |
27
+ | ` [nzCopyable] ` | Can copy, require use ` [nzContent] ` | ` boolean ` | ` false ` | |
28
+ | ` [nzEditable] ` | Editable, require use ` [nzContent] ` | ` boolean ` | ` false ` | |
29
+ | ` [nzCopyIcons] ` | Custom copy icons | ` [string \| TemplateRef<void>, string \| TemplateRef<void>] ` | ` ['copy', 'check'] ` | ✅ |
30
+ | ` [nzCopyTooltips] ` | Custom tooltips text, hide when it is ` null ` | ` null \| [string \| TemplateRef<void>, string \| TemplateRef<void>] ` | - | ✅ |
31
+ | ` [nzEditIcon] ` | Custom edit icon | ` string \| TemplateRef<void> ` | ` 'edit' ` | ✅ |
32
+ | ` [nzEditTooltip] ` | Custom tooltip text, hide when it is ` null ` | ` null \| string \| TemplateRef<void> ` | - | ✅ |
33
+ | ` [nzEllipsis] ` | Display ellipsis when overflow, require use ` [nzContent] ` when dynamic content | ` boolean ` | ` false ` | |
34
+ | ` [nzSuffix] ` | The text suffix when used ` nzEllipsis ` | ` string ` | - | |
35
+ | ` [nzCopyText] ` | Customize the copy text | ` string ` | - | |
36
+ | ` [nzDisabled] ` | Disable content | ` boolean ` | ` false ` | |
37
+ | ` [nzExpandable] ` | Expandable when ellipsis | ` boolean ` | ` false ` | |
38
+ | ` [nzEllipsisRows] ` | Line number | ` number ` | ` 1 ` | ✅ |
39
+ | ` [nzType] ` | Content type | ` 'secondary' \| 'warning' \| 'danger' \| 'success' ` | - | |
40
+ | ` (nzContentChange) ` | Trigger when user edit the content | ` EventEmitter<string> ` | - | |
41
+ | ` (nzExpandChange) ` | Trigger when user expanded the content | ` EventEmitter<void> ` | - | |
42
+ | ` (nzOnEllipsis) ` | Trigger when ellipsis status changed | ` EventEmitter<boolean> ` | - | |
0 commit comments