0
0
Fork 0

feat: VnImg draggable

This commit is contained in:
Javier Segarra 2024-08-26 12:26:31 +02:00
parent 6c887c36b1
commit 9a48cb0742
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ defineExpose({
</script>
<template>
<QImg
:draggable="true"
:class="{ zoomIn: zoom }"
:src="getUrl()"
v-bind="$attrs"
@ -60,6 +61,7 @@ defineExpose({
/>
<QDialog v-if="$props.zoom" v-model="show">
<QImg
:draggable="true"
:src="getUrl(true)"
v-bind="$attrs"
spinner-color="primary"