1.0.2 • Published 9 months ago

@irises/watermark v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

这一款水印插件

能够通过简单的配置完成一些简单水印的覆盖。

安装

npm i @irises/watermark

使用

该插件导出了对应的参数类型

import { Watermark } from '@irises/watermark';

const instance1 = Watermark.mount({ container: '#app' });
// 或者
const instance2 = new Watermark({ container: '#app' });
instance2.mount();

// 销毁
instance1.unmount()
instance2.unmount()
1.0.2

9 months ago

1.0.1

10 months ago

1.0.0

10 months ago