mirror of
https://gitee.com/layui/layui.git
synced 2026-01-28 19:11:26 +08:00
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:
@@ -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">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user