VInfiniteScroll API
name | type | default |
|---|---|---|
string
| undefined | |
Applies specified color to the control - supports utility colors with or without | ||
'horizontal' | 'vertical' | 'vertical' | |
Specifies if scroller is vertical or horizontal. | ||
string
| '$vuetify.infiniteScroll.empty' | |
Text shown when there is no more content to load. | ||
string | number | undefined | |
Sets the height for the component. | ||
string
| '$vuetify.infiniteScroll.loadMore' | |
Text shown in default load more button, when in manual mode. | ||
string | number | undefined | |
Value sent to the intersection observer. Will make the observer trigger earlier, by the margin (px) value supplied. | ||
string | number | undefined | |
Sets the maximum height for the component. | ||
string | number | undefined | |
Sets the maximum width for the component. | ||
string | number | undefined | |
Sets the minimum height for the component. | ||
string | number | undefined | |
Sets the minimum width for the component. | ||
'intersect' | 'manual' | 'intersect' | |
Specifies if content should load automatically when scrolling (intersect) or manually (manual). | ||
'start' | 'end' | 'both' | 'end' | |
Specifies the side where new content should appear. Either the start, end, or both sides. | ||
string | (new () => any) | FunctionalComponent | 'div' | |
Specify a custom tag used on the root element. | ||
string | number | undefined | |
Sets the width for the component. | ||
name | type | |
|---|---|---|
[ { side: 'start' | 'end' | 'both' done: (status: 'error' | 'loading' | 'empty' | 'ok') => void }, ] | ||
Emitted when reaching the start / end threshold, or if triggered when using manual mode. | ||
The default Vue slot. | ||
Shown when load returned status ‘empty’. | ||
Shown when load returned status ‘error’. | ||
Shown when scrolled to either side of the content, in manual mode. | ||
Shown when content is loading. | ||
Resets side status to ‘ok’ letting it trigger ‘load’ again. Useful to prevent given side being stuck in ‘empty’ or ‘error’ state. | ||
name | default |
|---|---|
8px |