vue-lazyload
vue-lazyload copied to clipboard
Font Awesome icons on loading, error?
Tell me please, is there any way to put font awesome spinners in center in place of iamges?
EG
Vue.use(VueLazyLoad, {
error: 'static/error.png',
loading: '<em class="fa fa-spinner fa-spin fa-3x"/>',
loaded: '<em class="fa fa-spinner fa-spin fa-3x"/>',
Or maybe somehow with CSS styles?
img[lazy=loading]:before {
color: black;
background: black;
content: '<em class="fa fa-spinner fa-spin fa-3x"/>';
}
Hi @BonBonSlick , did you find a solution for this?