diff options
Diffstat (limited to 'src/nodes/ImageView.vue')
-rw-r--r-- | src/nodes/ImageView.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue index fd9e3de30..e02887afa 100644 --- a/src/nodes/ImageView.vue +++ b/src/nodes/ImageView.vue @@ -22,7 +22,10 @@ <template> <NodeViewWrapper> - <div class="image" :class="{'icon-loading': !loaded}" :data-src="src"> + <div class="image" + data-component="image-view" + :class="{'icon-loading': !loaded}" + :data-src="src"> <div v-if="imageLoaded && isSupportedImage" v-click-outside="() => showIcons = false" class="image__view" |