react-annotator:允许用户直接在图像上注释的 React mixin

时间:2021-06-13 20:09:54
【文件属性】:
文件名称:react-annotator:允许用户直接在图像上注释的 React mixin
文件大小:11KB
文件格式:ZIP
更新时间:2021-06-13 20:09:54
JavaScript React注释器 一个 React mixin,允许用户直接在元素上注释,类似于 。 一个例子可以在看到。 入门 npm install --save react-annotator var ReactAnnotatorMixin = require('react-annotator').Mixin mixins: [ReactAnnotatorMixin({settings})] 在组件的render()函数中调用this.renderAnnotationIndicators() ,以便在组件元素的顶层渲染各个指标。 var ReactAnnotatorMixin = require ( 'react-annotator' ) . Mixin ; var annotatorSettings = { element : '.annotator-target' , anno
【文件预览】:
react-annotator-master
----index.js(222B)
----package.json(993B)
----gulpfile.js(961B)
----LICENSE(1KB)
----.npmignore(25B)
----.gitignore(608B)
----lib()
--------js()
--------styles()
----README.md(6KB)
----.jshintrc(327B)

网友评论