fontfill:最适合将任何字符串放入任意尺寸的盒子中-源码

上传者: 42123237 | 上传时间: 2021-05-12 10:03:18 | 文件大小: 145KB | 文件类型: ZIP
fontfill.js 将任何字符串最佳地放入具有任意尺寸的盒子中。 它是动态显示文本,响应式网站或两者结合的绝佳解决方案。 它的速度也非常快,调整盒子的大小看起来很流畅。 它还实现了React状态,因此可以监视装配的变化,例如,调整包装盒的尺寸时。 安装 npm install --save fontfill 入门 该库的主要接口是通过一个名为AutoFittingText的类AutoFittingText ,下面将AutoFittingText进行详细介绍。 该软件包附带适用于一系列用例的多种构建和构建工具。 ECMAScript2015 该库是用ECMAScript2015编写的,可以像这样直接引用源: import { AutoFittingText } from 'fontfill/src' 您将需要您自己的捆绑器和编译器,此工具才能正常工作。 ES5 如果您使用自己的

文件下载

资源详情

[{"title":"( 30 个子文件 145KB ) fontfill:最适合将任何字符串放入任意尺寸的盒子中-源码","children":[{"title":"fontfill-master","children":[{"title":".gitignore <span style='color:#111;'> 20B </span>","children":null,"spread":false},{"title":".babelrc <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"images","children":[{"title":"fontfill.afdesign <span style='color:#111;'> 73.03KB </span>","children":null,"spread":false},{"title":"big-wide-logo.svg <span style='color:#111;'> 312.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"Dependency.js <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"ShortestPath.js <span style='color:#111;'> 8.32KB </span>","children":null,"spread":false},{"title":"Observer.js <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"ReactiveClass.js <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 10.58KB </span>","children":null,"spread":false},{"title":"Array.fill.js <span style='color:#111;'> 930B </span>","children":null,"spread":false},{"title":"Watcher.js <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"webpack.config.js <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.93KB </span>","children":null,"spread":false},{"title":"demo","children":[{"title":"style.css <span style='color:#111;'> 518B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"dev.html <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"doc-build","children":[{"title":"helpers","children":[{"title":"helpers.js <span style='color:#111;'> 179B </span>","children":null,"spread":false}],"spread":true},{"title":"jsdoc2md.hbs <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"partials","children":[{"title":"main.hbs <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"README-API.hbs <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"README.hbs <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"member-index-grouped.hbs <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"README-FOOTER.hbs <span style='color:#111;'> 107B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".npmignore <span style='color:#111;'> 58B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"e2e","children":[{"title":"index.spec.js <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false}],"spread":true},{"title":".eslintrc <span style='color:#111;'> 134B </span>","children":null,"spread":false},{"title":"karma.conf.js <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 291B </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明