text-width-overflow

1.0.2 • Public • Published

install

npm -i text-width-overflow

use

import textWidthOverflow from 'text-width-overflow'

return

textWidthOverflow(string, widthNumber): boolean

判断字符串是否超出容器的宽度,返回布尔值

Readme

Keywords

none

Package Sidebar

Install

npm i text-width-overflow

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

1.93 kB

Total Files

5

Last publish

Collaborators

  • yyl5710