feat: add lazy load of image thumbnails

This commit is contained in:
Oleg Lobanov committed 2020-07-27 19:26:44 +02:00
1 parent 94ef59602f
commit bc00165094
4 files changed
+11 -2

No files matched your search

@@ -13,7 +13,7 @@
:aria-label="name"
:aria-selected="isSelected">
<div>
<img v-if="type==='image'" :src="thumbnailUrl">
<img v-if="type==='image'" v-lazy="thumbnailUrl">
<i v-else class="material-icons">{{ icon }}</i>
</div>
@@ -213,4 +213,4 @@ export default {
}
}
}
</script>
</script>