Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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 8 years ago by ykami

Resolution: fixed
Status: newclosed

(In [24326]) Fixes #12668 !strict. Added device detection support.

comment:2 Changed 8 years ago by ykami

Milestone: 1.81.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.