#12668 closed enhancement (fixed)
dojox.mobile: device detection
Reported by: | ykami | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.6.0 |
Keywords: | 1.7-mobile | Cc: | |
Blocked By: | Blocking: |
Description
dojo/_base/_loader/hostenv_browser.js has browser detection and defines dojo.isIE, dojo.isFF, etc. dojo.isBB, dojo.isAndroid, dojo.isIPhone, dojo.isIPad are necessary to write some device specific code.
Change History (2)
comment:1 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Milestone: | 1.8 → 1.7 |
---|
The following flags will be set according to which device to use.
- dojo.isIPhone
- dojo.isIPod
- dojo.isIPad
- dojo.isAndroid
- dojo.isBB
If isIPod or isIPad is set, isIPhone also has the same value.
Note: See
TracTickets for help on using
tickets.
(In [24326]) Fixes #12668 !strict. Added device detection support.