Skip to content

Latest commit

 

History

History
90 lines (61 loc) · 2.99 KB

README.md

File metadata and controls

90 lines (61 loc) · 2.99 KB

watermark design

GitHub Workflow Status GitHub Join the chat

Watermark

Works with both Vue 2 , Vue 3 And React.

Translations

Usage

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();

Documentation

To learn more, check its documentation.

Maintainers

@zhensherlock.

Contributing

Feel free to dive in! Open an issue or submit PRs.

Standard Readme follows the Contributor Covenant Code of Conduct.

Contributors

This project exists thanks to all the people who contribute.

License

MIT © MichaelSun