File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 22
33## 简介
44
5- ` <recycle-list> ` 是一个新的列表容器 ,具有回收和复用的能力,可以大幅优化内存占用和渲染性能。
5+ ` <recycle-list> ` 是一个新的支持竖向或横向的列表容器 ,具有回收和复用的能力,可以大幅优化内存占用和渲染性能。
66> * 设计思路请参考 [ 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 )
77> * 该功能部分依赖于编译工具,请确保 weex-loader 的版本升级到最新(v0.7.2+)
88> * 使用最新版的 playground app(SDK 版本 0.18.0 及以上)才可以扫码查看原生效果,也可以直接使用dotwe查看Web预览效果
4444 </cell-slot >
4545</recycle-list >
4646```
47+ * ` scrollDirection `
48+ 取值vertical或horizontal
4749
4850## 可复用的组件
4951在 ` <recycle-list> ` 中使用的子组件也将被视为模板,在开发组件时给 ` <template> ` 标签添加 recyclable 属性,才可以用在 ` <recycle-list> ` 中。
@@ -178,4 +180,4 @@ const longList = [
178180* [ props 更新] ( http://dotwe.org/vue/37056065a0a2c104e73dd550f252fabc ) ([ 普通list] ( http://dotwe.org/vue/778e93001e573ea0bbe9fc332a6a1e6c ) )
179181* [ 有内部状态] ( http://dotwe.org/vue/baeda092d257d91d8c9c216e91ba350a ) ([ 普通list] ( http://dotwe.org/vue/a6e19f26653c890544c1036a7e9d2722 ) )
180182* [ computed & watch] ( http://dotwe.org/vue/c9ab8a26fb10fb163891ac58b2322671 ) ([ 普通list] ( http://dotwe.org/vue/5e13c37f136fde456da311e5ddf17324 ) )
181- * [ 移除组件] ( http://dotwe.org/vue/c63e11f62c8f50d6120d56f97253a1b6 ) ([ 普通list] ( http://dotwe.org/vue/a9d299cbf2870c99b32df047ed0c4265 ) )
183+ * [ 移除组件] ( http://dotwe.org/vue/c63e11f62c8f50d6120d56f97253a1b6 ) ([ 普通list] ( http://dotwe.org/vue/a9d299cbf2870c99b32df047ed0c4265 ) )
You can’t perform that action at this time.
0 commit comments