v2.3.19
This release adds the #watermark
slot to most charts.
Usage:
<VueUiDonut :config="config" :dataset="dataset">
<template #watermark="{ isPrinting }">
<div
v-if="isPrinting"
style="font-size: 100px; opacity: 0.1; transform: rotate(-10deg)"
>
WATERMARK
</div>
</template>
</VueUiDonut>
The slot exposes the isPrinting
boolean, should you wish to display the watermark only on the downloaded pdf or png.
The list of components supporting this slot is available on the README