Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12798 closed enhancement (fixed)

dojox.mobile.deviceTheme should be customizable

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

deviceTheme has a map called dojox.mobile.themeMap, which defines device-specific themes to load. Users may want to customize this map, but currently there is no way to do it.

Change History (2)

comment:1 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

(In [24524]) Fixes #12798 !strict. Fixed to allow the user to customize the themeMap.

comment:2 Changed 8 years ago by ykami

If dojox.mobile.themeMap is defined by the user before loading deviceTheme.js, it is used.

If dojox.mobile.configDeviceTheme is defined by the user before loading deviceTheme.js, it is executed. This gives the user a chance to modify the default themeMap.

Note: See TracTickets for help on using tickets.