x-lines:裁剪文本以使其适合X行

时间:2021-05-09 20:52:03
【文件属性】:
文件名称:x-lines:裁剪文本以使其适合X行
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-09 20:52:03
JavaScript X线 裁剪文本以使其适合X行。 安装 npm i x-lines # or yarn add x-lines 用法 香草 import { initCropper } from "x-lines" const el = document . getElementById ( "foobar" ) initCropper ( { el , lines : 2 } ) Vue指令 < template> < div xss=removed>Hello world < script > import { cropLinesDirective } from " x-lines/vue " export default { directives : { cropLines : cropLinesDirective
【文件预览】:
x-lines-master
----index.js(2KB)
----package.json(318B)
----vue.js(187B)
----.gitignore(14B)
----README.md(563B)
----yarn.lock(282B)

网友评论