This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git
The following commit(s) were added to refs/heads/master by this push: new ea7efad 新增支持竖向或横向描述以及属性 new 00857c9 Merge pull request #449 from nika-mahu/patch-1 ea7efad is described below commit ea7efad091df68383fa1cd628c0804eb141d4ea2 Author: nika-mahu <52807773+nika-m...@users.noreply.github.com> AuthorDate: Fri Jul 12 10:27:32 2019 +0800 新增支持竖向或横向描述以及属性 新增支持竖向或横向描述以及属性 --- docs/zh/docs/components/recycle-list.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/zh/docs/components/recycle-list.md b/docs/zh/docs/components/recycle-list.md index 8a5a26e..1c72782 100644 --- a/docs/zh/docs/components/recycle-list.md +++ b/docs/zh/docs/components/recycle-list.md @@ -2,7 +2,7 @@ ## 简介 -`<recycle-list>` 是一个新的列表容器,具有回收和复用的能力,可以大幅优化内存占用和渲染性能。 +`<recycle-list>` 是一个新的支持竖向或横向的列表容器,具有回收和复用的能力,可以大幅优化内存占用和渲染性能。 > * 设计思路请参考 > [Design.md](https://github.com/Hanks10100/weex-native-directive/blob/master/Design.md),具体的实现细节请参考 > > [Implementation.md](https://github.com/Hanks10100/weex-native-directive/blob/master/Implementation.md) > * 该功能部分依赖于编译工具,请确保 weex-loader 的版本升级到最新(v0.7.2+) > * 使用最新版的 playground app(SDK 版本 0.18.0 及以上)才可以扫码查看原生效果,也可以直接使用dotwe查看Web预览效果 @@ -44,6 +44,8 @@ </cell-slot> </recycle-list> ``` +* `scrollDirection` + 取值vertical或horizontal ## 可复用的组件 在 `<recycle-list>` 中使用的子组件也将被视为模板,在开发组件时给 `<template>` 标签添加 recyclable 属性,才可以用在 `<recycle-list>` 中。 @@ -178,4 +180,4 @@ const longList = [ * [props 更新](http://dotwe.org/vue/37056065a0a2c104e73dd550f252fabc)([普通list](http://dotwe.org/vue/778e93001e573ea0bbe9fc332a6a1e6c)) * [有内部状态](http://dotwe.org/vue/baeda092d257d91d8c9c216e91ba350a)([普通list](http://dotwe.org/vue/a6e19f26653c890544c1036a7e9d2722)) * [computed & watch](http://dotwe.org/vue/c9ab8a26fb10fb163891ac58b2322671)([普通list](http://dotwe.org/vue/5e13c37f136fde456da311e5ddf17324)) -* [移除组件](http://dotwe.org/vue/c63e11f62c8f50d6120d56f97253a1b6)([普通list](http://dotwe.org/vue/a9d299cbf2870c99b32df047ed0c4265)) \ No newline at end of file +* [移除组件](http://dotwe.org/vue/c63e11f62c8f50d6120d56f97253a1b6)([普通list](http://dotwe.org/vue/a9d299cbf2870c99b32df047ed0c4265))