Skip to content

Commit 8ebc54f

Browse files
committed
Improvement - VueUiDonut - Add watermark slot
1 parent 610d869 commit 8ebc54f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/vue-ui-donut.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,10 @@ defineExpose({
831831
<slot name="svg" :svg="svg"/>
832832
</svg>
833833

834+
<div v-if="$slots.watermark" class="vue-data-ui-watermark">
835+
<slot name="watermark" v-bind="{ isPrinting: isPrinting || isImaging }"/>
836+
</div>
837+
834838
<Skeleton
835839
v-if="!isDataset"
836840
:config="{

0 commit comments

Comments
 (0)