Nascent Political Miscreant
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

enquire-js

0.2.1 • Public • Published

enquire-js

避免服务端渲染报错。

enquireScreen(cb, str);

name type default description
cb func null 回调接口, cb(bool), bool 为 true 为 mobile
str string only screen and (max-width: 767.99px) css 的场景判断

Keywords

none

Install

npm i enquire-js

DownloadsWeekly Downloads

14,512

Version

0.2.1

License

MIT

Unpacked Size

3.14 kB

Total Files

5

Last publish

Collaborators

  • avatar