@hyc941129/water-mark
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@hyc941129/water-mark

Quick Setup

  1. Add @hyc941129/water-mark dependency to your project
# Using pnpm
pnpm add @hyc941129/water-mark

# Using yarn
yarn add @hyc941129/water-mark

# Using npm
npm install --save @hyc941129/water-mark
  1. Use @hyc941129/water-mark in your project
import { useWatermark } from '@hyc941129/water-mark';
const refDiv = ref<HTMLDivElement | null>(null);
nextTick(()=>{
    const { setWatermark } = useWatermark(refDiv.value);
    setWatermark('xx is an interesting person. ');
});

Readme

Keywords

Package Sidebar

Install

npm i @hyc941129/water-mark

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

4.37 kB

Total Files

5

Last publish

Collaborators

  • hyc941129