watermark
Watermark component, supporting custom colors, positions, etc.
Basic usage
vue
<template>
<dk-watermark value="dk-watermark"></dk-watermark>
</template>
展开
Stats
Stats | Instructions | type | Optional value | Default value |
---|---|---|---|---|
value | Watermarking content | string | - | - |
color | Watermark color | string | - | #000 |
opacity | Watermark transparency | number | - | 0.15 |
rotate | Watermark rotation Angle | number | - | -20 |
append-to-body | Whether to add to the body element | boolean | - | false |