little-terry-water-marker
v1.0.0
Published
一个用于快速生成明水印的包
Downloads
2
Readme
使用方法
- script直接引入
<script type="module">
import watermark from './index.js'
watermark({
container = document.body,
width = '300px',
height = '200px',
textAlign = 'center',
textBaseline = 'middle',
font = "20px Microsoft Yahei",
fillStyle = 'rgba(184, 184, 184, 0.6)',
content = '请勿外传',
rotate = '30',
zIndex = 1000
});
</script>