feat(flow): 新增 direction 选项 (#1638)

* feat(flow): 新增 direction 选项

* docs: 更新 flow 文档

* chore(flow): 优化注释描述

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
This commit is contained in:
morning-star
2024-02-27 19:15:55 +08:00
committed by GitHub
parent 4136f7af12
commit e8dde4cc7f
2 changed files with 37 additions and 8 deletions

View File

@@ -103,6 +103,18 @@ layui.each(data, function(index, item){
</td>
</tr>
<tr>
<td>direction <sup>2.9.7+</sup></td>
<td>
指定触发加载的方向,可选值:
- `bottom` 滚动容器底部触发加载
- `top` 滚动容器顶部触发加载
</td>
<td>string</td>
<td>'bottom'</td>
</tr>
<tr>
<td>done</td>
<td colspan="3">