From 157409147fa4d421c7b61b42d57bdbda86a15705 Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Thu, 22 Oct 2020 13:42:05 +0800 Subject: [PATCH] docs(transfer): vue3 --- .../transfer/enUS/index.demo-entry.md | 32 ++++++++----------- .../transfer/zhCN/index.demo-entry.md | 21 ++++++------ 2 files changed, 25 insertions(+), 28 deletions(-) diff --git a/demo/documentation/components/transfer/enUS/index.demo-entry.md b/demo/documentation/components/transfer/enUS/index.demo-entry.md index 9f24bfef5..261c90a23 100644 --- a/demo/documentation/components/transfer/enUS/index.demo-entry.md +++ b/demo/documentation/components/transfer/enUS/index.demo-entry.md @@ -4,31 +4,27 @@ Left, right, left, right... As a boring guy, I can play it all day. ## Demos ```demo basic -large-data size filterable ``` -## V-model -|Prop|Event| -|-|-| -|value|change| + ## Props |Name|Type|Default|Description| |-|-|-|-| +|disabled|`boolean`|`true`|| +|filterable|`boolean`|`false`|| +|filter|`(pattern: string, option: TransferOption, from: 'source' \| 'target') => boolean`|A basic label string match function|| +|options|`Array`|`[]`|| +|size|`'small' \| 'medium' \| 'large'`|`'medium'`|| +|source-filter-placeholder|`string`|`undefined`|| +|source-title|`string`|`'Source'`|| +|target-filter-placeholder|`string`|`undefined`|| +|target-title|`string`|`'Target'`|| |theme|`'light' \| 'dark' \| null \| string`|`null`|| |value|`Array`|`null`|| -|options|`Array`|`[]`|| -|disabled|`boolean`|`true`|| -|virtual-scroll|`boolean`|`false`|If use virtual scroll on transfer. If set to `true` it can handles large data (and turn transfer animation off)| -|source-title|`string`|`'Source'`|| -|target-title|`string`|`'Target'`|| -|filterable|`boolean`|`false`|| -|source-filter-placeholder|`string`|`null`|| -|target-filter-placeholder|`string`|`null`|| -|filter|`(pattern: string, option: TransferOption, from: 'source' \| 'target') => boolean`|A basic label string match function|| -|size|`'small' \| 'medium' \| 'large'`|`'medium'`|| - +|on-update:value|`(value: Array) => any`|`undefined`|| + ### TransferOption Type |Property|Type|Description| @@ -42,11 +38,11 @@ filterable |-|-|-| |change|`(Array)`|| -## Notes + \ No newline at end of file diff --git a/demo/documentation/components/transfer/zhCN/index.demo-entry.md b/demo/documentation/components/transfer/zhCN/index.demo-entry.md index 93521dbe6..bf77c3fc6 100644 --- a/demo/documentation/components/transfer/zhCN/index.demo-entry.md +++ b/demo/documentation/components/transfer/zhCN/index.demo-entry.md @@ -7,23 +7,24 @@ basic size filterable ``` + ## Props |名称|类型|默认值|说明| |-|-|-|-| +|disabled|`boolean`|`true`|| +|filterable|`boolean`|`false`|| +|filter|`(pattern: string, option: TransferOption, from: 'source' \| 'target') => boolean`|一个简单的标签字符串匹配函数|| +|options|`Array`|`[]`|| +|size|`'small' \| 'medium' \| 'large'`|`'medium'`|| +|source-filter-placeholder|`string`|`undefined`|| +|source-title|`string`|`'源项'`|| +|target-filter-placeholder|`string`|`undefined`|| +|target-title|`string`|`'目标项'`|| |theme|`'light' \| 'dark' \| null \| string`|`null`|| |value|`Array`|`null`|| -|options|`Array`|`[]`|| -|disabled|`boolean`|`true`|| -|source-title|`string`|`'源项'`|| -|target-title|`string`|`'目标项'`|| -|filterable|`boolean`|`false`|| -|source-filter-placeholder|`string`|`undefined`|| -|target-filter-placeholder|`string`|`undefined`|| -|filter|`(pattern: string, option: TransferOption, from: 'source' \| 'target') => boolean`|一个简单的标签字符串匹配函数|| -|size|`'small' \| 'medium' \| 'large'`|`'medium'`|| |on-update:value|`(value: Array) => any`|`undefined`|| - + ### TransferOption Type |属性|类型|说明|