<template>
<table>
<tr v-for="row in rowCount">
<td v-for="col in colCount">
<img :src="'https://picsum.photos/id/'+colCount+'/200/300'" />
</td>
</tr>
</table>
</template>
<script>
export default {
data(){
return{
rowCount:2,
colCount:15
}
}
};
</script>
<style scoped>
</style>
Hey there,
Normally photos are taken statically with require. But I am giving example from lorem pic. My problem is this: Photos are coming late or not downloading. When i click on another photo the undownloaded downloads and appears on the screen. The item is in the dom, but the photo is not downloaded over the network.
Via Active questions tagged javascript - Stack Overflow https://ift.tt/HowANdr
Comments
Post a Comment