Skip to content

Commit 2366d01

Browse files
committed
Improvement - VueUiGauge - Add watermark slot
1 parent 6f24b1e commit 2366d01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/vue-ui-gauge.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,10 @@ defineExpose({
583583
<slot name="svg" :svg="svg"/>
584584
</svg>
585585

586+
<div v-if="$slots.watermark" class="vue-data-ui-watermark">
587+
<slot name="watermark" v-bind="{ isPrinting: isPrinting || isImaging }"/>
588+
</div>
589+
586590
<Skeleton
587591
v-if="!isDataset"
588592
:config="{

0 commit comments

Comments
 (0)