enquire-js
avoid server-side rendering errors.
Last updated 3 years ago by jljsj33 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (3 years ago)

6 Versions

  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 11
This Week 1,316
This Month 10,137
Last Day 689
Last Week 3,575
Last Month 16,783
Dependencies (1)
Dev Dependencies (2)
Dependents (172)

Copyright 2014 - 2017 © taobao.org |