mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
added docs for tablet
flag
This commit is contained in:
parent
bae0904d80
commit
90c375380f
@ -38,11 +38,11 @@ Flags set for detected mobile Operating Systems
|
|||||||
* `ios` (`iphone`/`ipad`/`ipod`)
|
* `ios` (`iphone`/`ipad`/`ipod`)
|
||||||
* `blackberry`
|
* `blackberry`
|
||||||
* `firefoxos`
|
* `firefoxos`
|
||||||
* `webos`
|
* `webos` (`touchpad`)
|
||||||
|
|
||||||
Android, iOS, Windows Phone, and WebOS will all report the OS version number if it is contained in the UA string in the `osversion` field. iOS is always reported as `ios` and additionally as `iphone`/`ipad`/`ipod`, whichever one matches best. If WebOS device is an HP TouchPad the flag `touchpad` is additionally set.
|
Android, iOS, Windows Phone, and WebOS will all report the OS version number if it is contained in the UA string in the `osversion` field. iOS is always reported as `ios` and additionally as `iphone`/`ipad`/`ipod`, whichever one matches best. If WebOS device is an HP TouchPad the flag `touchpad` is additionally set.
|
||||||
|
|
||||||
All detected mobile OSes are additionally flagged `mobile`.
|
All detected mobile OSes are additionally flagged `mobile`, **if they are not running on a tablet device**. If a tablet is detected, the flag `tablet` is set instead.
|
||||||
|
|
||||||
Notes
|
Notes
|
||||||
----
|
----
|
||||||
|
Loading…
Reference in New Issue
Block a user