Question from the Vue.js test

Display an image in a Vue component

Medium

What will display the following code?

const isImageLoaded = ref(false);
<img v-if="isImageLoaded" :src="path_to_image" @load="isImageLoaded = true" alt=”Image for a quizz”> 
Author: DamienStatus: PublishedQuestion passed 13 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!