Socket
Socket
Sign inDemoInstall

device-utils

Package Overview
Dependencies
3
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    device-utils

Cross device utils for browser


Version published
Maintainers
1
Install size
2.29 MB
Created

Readme

Source

Device utils

Cross device utility for browser

Install

  bower install device-utils --save

Changelog

1.0.24

  • Added the parent class iphone-x for models iPhone XS, XR, XS Max

1.0.23

  • Bugfix for detect iPhone XS, XR, XS Max

1.0.22

  • Added the "iphone-xs" class if it is an iPhone XS
  • Added the "iphone-xs-max" class if it is an iPhone XS Max
  • Added the "iphone-xr" class if it is an iPhone XR
  • Added method for check device is high performance

1.0.21

  • Added the "iphone-x" class if it is an iPhone X

1.0.20

  • Add a new method "isIos"
  • Add a new method "isIphoneX"

1.0.19

  • Add a new method "isTouchDevice"
  • Add param force for exclude cache

1.0.1

  • New support to fullscreen mode. Device adds class fullScreen to the html tag. In addition it adds browser specific class like mozFullScreen, webkitFullScreen, msfullscreenchange.

Keywords

FAQs

Last updated on 20 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc