【文件属性】:
文件名称:page-wrapping:将节点树包装在大小相等的子页面中
文件大小:66KB
文件格式:ZIP
更新时间:2021-05-01 22:58:18
JavaScript
页面包装
此软件包已不再在react-pdf最新版本中使用
通用页面换行算法建议。
这个怎么运作
import wrapPage from 'page-wrapping'
// Create node instance.
// It can be whatever type of construction you want, but should always if support Node interface (see below).
const node = Node ( { left : 20 , top : 20 , width : 100 , height : 100 } )
// Start page wrapping process.
// You should pass as first argument the page children (in this case o
【文件预览】:
page-wrapping-master
----.gitignore(66B)
----.babelrc(54B)
----package.json(686B)
----.travis.yml(156B)
----jest.config.js(141B)
----index.js(5KB)
----rollup.config.js(705B)
----README.md(3KB)
----test()
--------index.js(13KB)
--------node.js(1KB)
----yarn.lock(162KB)