# el-table-infinite-scroll
**Repository Path**: leehave/el-table-infinite-scroll
## Basic Information
- **Project Name**: el-table-infinite-scroll
- **Description**: el-table-infinite-scroll
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: v3
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2022-08-17
- **Last Updated**: 2023-11-06
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# el-table-infinite-scroll
Infinite scroll for el-table.
> This directive only does event forwarding,
> which is equivalent to replacing the target DOM
> of `ElInfiniteScroll` with the scroll layer of `ElTable`.
## Documentation
[https://yujinpan.github.io/el-table-infinite-scroll](https://yujinpan.github.io/el-table-infinite-scroll)
## vue3 + element-plus
### Install
```sh
npm install --save el-table-infinite-scroll
```
### Usage
#### Global register
```js
import { createApp } from "vue";
import App from "./src/App.vue";
import ElTableInfiniteScroll from "el-table-infinite-scroll";
const app = createApp(App);
app.use(ElTableInfiniteScroll);
app.mount("#app");
```
#### Component register
```vue
```
### Example
```vue
```
### Options
Supported [element-plus/infinite-scroll](https://element-plus.org/zh-CN/component/infinite-scroll.html#指令) all options.
## vue2 + element-ui
### Install
```sh
npm install --save el-table-infinite-scroll@2
```
### Usage
#### Global register
```js
import Vue from "vue";
import ElTableInfiniteScroll from "el-table-infinite-scroll";
Vue.directive("el-table-infinite-scroll", ElTableInfiniteScroll);
```
#### Component register
```vue
```
### Example
```vue
```
### Options
Supported [element-ui/infinite-scroll](https://element.eleme.cn/#/zh-CN/component/infiniteScroll#attributes) all options.
## Contribution
Thanks to [JetBrains](https://www.jetbrains.com/?from=el-table-infinite-scroll) for supporting my free open source license.
