1.0.10 • Published 5 years ago

tsp-watermark v1.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

tsp-watermark

A Vue.js component for html dom watermark

Usage

npm install tsp-watermark

in your vue code:

<template>
    <watermark content="wm_content"></watermark>
</template>

<script>
...
import watermark from 'tsp-watermark'
...
</script>

Parameters

paramerterdefalutdescription
content''content, watermark will not be rendered if it is ''
font'serif'
fontSize'20px'
opacity0.010.01 is recommended. It's hard to recover the watermark content when opacity is too low
rotate300 - 90

Build Setup

# install dependencies
npm install

# build for production with minification
npm run build
1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago