Skip to content

Latest commit

 

History

History
86 lines (59 loc) · 2.92 KB

README_zh.md

File metadata and controls

86 lines (59 loc) · 2.92 KB

watermark design

GitHub Workflow Status GitHub Join the chat

watermark-design

同时支持 Vue 2、Vue 3和React。

用法

Vue

npm package npm bundle size npm download week

import WatermarkDesign from '@watermark-design/vue';
app.use(WatermarkDesign);
<Watermark content="hello watermark" :width="200" :height="200">
  <div style="height: 400px"></div>
</Watermark>

React

npm package npm bundle size npm download week

import { Watermark } from '@watermark-design/react';
<Watermark width={200} height={200} content={inputValue}>
  <div style={{ height: 400 }}></div>
</Watermark>

Dom

npm package npm bundle size npm download week

import { Watermark } from '@watermark-design/dom';

const watermark = new Watermark({
  content: 'hello my watermark',
  width: 200,
  height: 200,
});
watermark.create();

文档

要了解更多,请查看文档

维护者

@zhensherlock

如何贡献

非常欢迎你的加入!提一个 Issue 或者提交一个 Pull Request。

标准 Readme 遵循 Contributor Covenant 行为规范。

贡献者

感谢以下参与项目的人:

使用许可

MIT © MichaelSun