https://github.com/yangfei4913438/react-window-list
基于 react-window 库编写的一个超灵活的虚拟列表。
https://github.com/yangfei4913438/react-window-list
list react-window virtual-list
Last synced: about 1 year ago
JSON representation
基于 react-window 库编写的一个超灵活的虚拟列表。
- Host: GitHub
- URL: https://github.com/yangfei4913438/react-window-list
- Owner: yangfei4913438
- License: apache-2.0
- Created: 2022-09-08T09:49:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-22T19:32:40.000Z (about 3 years ago)
- Last Synced: 2025-02-08T03:42:07.746Z (over 1 year ago)
- Topics: list, react-window, virtual-list
- Language: TypeScript
- Homepage:
- Size: 136 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 项目说明:
#### 启动
```shell
yarn
yarn dev
```
#### 配置
> 待补充。。。
#### 功能特点
- 虚拟列表,支持滚动分页请求数据。
- 滚动分页的触发位置,支持自定义。
- 每行自定义单独渲染, 函数渲染,返回参数:行数据、行索引。
- 列表支持,行在滚动的时候,渲染不一样的内容
- 行高支持自定义高度
- 表格支持,顶部 n 列锁定,传参数生效。
- 支持自定义空态图渲染,传参数生效。
- 支持分组展示,需要自己在外部定义渲染逻辑。