`
})
export class NzDemoTransferBasicComponent implements OnInit {
// tslint:disable-next-line:no-any
list: any[] = [];
+ disabled = false;
ngOnInit(): void {
for (let i = 0; i < 20; i++) {
diff --git a/components/transfer/demo/search.ts b/components/transfer/demo/search.ts
index 3694fa94ec9..5cddcb46c28 100644
--- a/components/transfer/demo/search.ts
+++ b/components/transfer/demo/search.ts
@@ -6,17 +6,22 @@ import { NzMessageService } from 'ng-zorro-antd';
template: `
+
+
`
})
export class NzDemoTransferSearchComponent implements OnInit {
// tslint:disable-next-line:no-any
list: any[] = [];
+ disabled = false;
ngOnInit(): void {
for (let i = 0; i < 20; i++) {
diff --git a/components/transfer/doc/index.en-US.md b/components/transfer/doc/index.en-US.md
index 193230708a2..937bb78f716 100644
--- a/components/transfer/doc/index.en-US.md
+++ b/components/transfer/doc/index.en-US.md
@@ -20,6 +20,7 @@ One or more elements can be selected from either column, one click on the proper
| Property | Description | Type | Default |
| -------- | ----------- | ---- | ------- |
| `[nzDataSource]` | Used for setting the source data. Except the elements whose keys are `direction: 'right'` prop. | TransferItem[] | [] |
+| `[nzDisabled]` | Whether disabled transfer | boolean | false |
| `[nzTitles]` | A set of titles that are sorted from left to right. | string[] | ['', ''] |
| `[nzOperations]` | A set of operations that are sorted from bottom to top. | string[] | ['', ''] |
| `[nzListStyle]` | A custom CSS style used for rendering the transfer columns. equal `ngStyle` | object | |
diff --git a/components/transfer/doc/index.zh-CN.md b/components/transfer/doc/index.zh-CN.md
index ba2875bad9e..2204ba82c5a 100644
--- a/components/transfer/doc/index.zh-CN.md
+++ b/components/transfer/doc/index.zh-CN.md
@@ -22,6 +22,7 @@ title: Transfer
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| `[nzDataSource]` | 数据源,其中若数据属性 `direction: 'right'` 将会被渲染到右边一栏中 | TransferItem[] | [] |
+| `[nzDisabled]` | 是否禁用 | boolean | false |
| `[nzTitles]` | 标题集合,顺序从左至右 | string[] | ['', ''] |
| `[nzOperations]` | 操作文案集合,顺序从下至上 | string[] | ['', ''] |
| `[nzListStyle]` | 两个穿梭框的自定义样式,等同 `ngStyle` | object | |
diff --git a/components/transfer/nz-transfer-list.component.html b/components/transfer/nz-transfer-list.component.html
index b8deb787191..a841cdf89f5 100644
--- a/components/transfer/nz-transfer-list.component.html
+++ b/components/transfer/nz-transfer-list.component.html
@@ -1,6 +1,6 @@
- -
-