enquire-js
avoid server-side rendering errors.
Last updated 9 years ago by jljsj33 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install enquire-js 
SYNC missed versions from official npm registry.

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 的场景判断

Current Tags

  • 0.2.1                                ...           latest (9 years ago)

6 Versions

  • 0.2.1                                ...           9 years ago
  • 0.2.0                                ...           9 years ago
  • 0.1.3                                ...           9 years ago
  • 0.1.2                                ...           9 years ago
  • 0.1.1                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 19
Today 0
This Week 0
This Month 12
Last Day 0
Last Week 9
Last Month 0
Dependencies (1)
Dev Dependencies (2)
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE