Footer prop?
See original GitHub issueI am trying to show a spinner at the end of the list when more data is getting fetched.
I can’t seem to find a better way other than adding a footer component after inner container:
<outer>
<inner><item/>...</inner>
<footer/>
</outer>
@bvaughn is this something that you would want to add?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Footer component — Vuetify
The padless prop removes all default padding from the footer component.
Read more ><footer> - HTML: HyperText Markup Language - MDN Web Docs
The <footer> HTML element represents a footer for its nearest ancestor sectioning content or sectioning root element. A <footer> typically ...
Read more >[Documentation] VDataTable footer props need more ... - GitHub
Problem to solve Given Example : Footer props. ... but if going to use under <v-data-table> as footer-props it's become itemsPerPageOptions ...
Read more >Add the file name, date, author or other document properties ...
Using document info. For common information, such as Author name, File name, date, or file path, follow these steps: Double-click the header or...
Read more >Header / Footer Properties - Evisions Help
The second is Footer which is used for editing the properties of the footer area. Use of headers is required when you have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, I don’t think I’d want to add a footer component. The way I would approach this sort of feature with react-window or react-virtualized is to add 1 to the
itemCount
when there’s more data to be shown, and just render a loading spinner in that last row 😄I think this might be key. Knowing if there’s more data to be loaded seems important. Every API I’ve interacted with can at least tell you yes/no for this question– even if it can’t tell you e.g. the total number of remote items.
The extra row is shown regardless because of your
isLastRow
conditional.Anyway, I was imagining something very similar: https://codesandbox.io/s/m72lm0yply