md
m-device
npm i m-device
md

m-device

设备检测

by binnng

1.0.1 (see all)License:MITTypeScript:Not Found
npm i m-device
Readme

device.js

设备检测,并主动添加到html的className中,方便css控制。

特性

  • IsTouch
  • IsAndroid
  • IsIPad
  • IsIPhone
  • IsIOS
  • IsWinPhone
  • IsWebapp
  • IsXiaoMi
  • IsUC
  • IsWeixin
  • IsBaiduBox
  • IsBaiduBrowser
  • IsChrome
  • IsPC
  • IsHTC
  • IsBaiduWallet
  • IsDebug

欢迎Fork扩展补充,多谢!

demo

Demo

Downloads/wk

3

GitHub Stars

55

LAST COMMIT

6yrs ago

MAINTAINERS

1

CONTRIBUTORS

2

OPEN ISSUES

0

OPEN PRs

1
VersionTagPublished
1.0.1
latest
6yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate