/**
* @desc 根据内容自适应字号
* @param {string} [text] - 显示的内容
* @param {number} [maxFontSize] - 最大字号
*
* @example
* <div style="display: inline-block;width: 100px;">
* <autofontsize text="这是文字" :maxFontSize="20"></autofontsize>
* </div>
*/
-
Notifications
You must be signed in to change notification settings - Fork 0
czhaoli/autofontsize
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
auto adjust fontsize when width is limit. 当宽度限制的时候自适应文字大小
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published