# InfiniteLoading ### Intro Scrolling to the bottom of the list automatically loads more data. ### Install ```js import { createApp } from 'vue' import { InfiniteLoading } from '@nutui/nutui' const app = createApp() app.use(InfiniteLoading) ``` ### Basic Usage :::demo ```vue ``` ::: ### Custom loading copywriting :::demo ```vue ``` ::: ### Use with PullRefresh :::demo ```vue ``` ::: ## API ### Props | Attribute | Description | Type | Default | | --- | --- | --- | --- | | v-model | Loading status | boolean | `false` | | has-more | Has more data | boolean | `true` | | threshold | The loadMore event will be Emitted when the distance between the scrollbar and the bottom is less than threshold | number | `200` | | use-capture | Whether to use capture mode | boolean | `false` | | load-more-txt | "No more" text | string | `Oops, this is the bottom` | | load-txt | Pull on loading text | string | `Loading...` | ### Events | Event | Description | Arguments | | --- | --- | --- | | load-more | Emitted when continues to load | - | | scroll-change | Real-time monitoring of roll height | height | ### Slots | Name | Description | | --- | --- | | default | Custom content | | loading | Loading text | | loading-icon | Custom loading icon | | finished | Finished text | ## Theming ### CSS Variables The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/component/configprovider). | Name | Default Value | | --- | --- | | --nut-infiniteloading-bottom-color | _#c8c8c8_ |