r-water-marker
v0.0.4
Published
水纹标注
Downloads
1
Readme
Installation
npm install r-water-marker
Usage
import WaterMark from 'r-water-marker'
页面中新建一个挂载点
<div id="app">
<WaterMark mountPoint="app" list={mark} currentUser="Jack Ma" cbReceiver={}/>
API
####<WaterMark mountPoint={"page"} list={mark} currentUser="Jack Ma" cbReceiver={}/>
- mountPoint: 挂载点 默认挂载点是 "app"
- list: 页面渲染数据
- currentUser: 当前用户
- cbReceiver: 回调函数,返回新的页面标注信息
License
serialization-array is available under the MIT license.