PeachScript / vue-infinite-loading

An infinite scroll plugin for Vue.js.
https://peachscript.github.io/vue-infinite-loading/
MIT License
2.67k stars 368 forks source link

Skeleton Loader #280

Open Gyurmatag opened 4 years ago

Gyurmatag commented 4 years ago

Hi,

I would love to see an optional skeleton loader (like on Facebook) next to the spinners. For example this is what I meant: (https://vuetifyjs.com/en/components/skeleton-loaders/)

Is there any change we are getting this feature?

Thank you!

gavrashenko commented 4 years ago

Hello, you can use <template v-slot:spinner> here your skeleton markup </template> ( https://github.com/PeachScript/vue-infinite-loading/blob/master/docs/guide/configure-load-msg.md#via-v-slot-directive ). And just hide it after first loading in order to return default spinner for all next loadings.