esop-watermark
v1.0.1
Published
A simple watermark component based on react.
Downloads
7
Readme
A simple watermark component based on react.
there is a demo below:
import WaterMark from 'esop-watermark';
class Demo extends Component {
render() {
return <WaterMark
info={{
width: 100,
height: 100,
text: 'demo'
}}
/>
}
}
Through the event MutationObserver
observe the watermark dom, so it can prevention user who open the controller of browser and manipulation the watermark dom.