WARNING: This is WORK IN PROGRESS documentation for the NEXT version of Dojo.
Differences between 1.6 and 1.7
| Authors: |
Yoshiroh Kamiyama |
- Added support for jsId.
- Added dojo.parser = dojox.mobile.parser; so that other modules or user applications can directly call dojo.parser even when dojox.mobile.parser is used.
- Updated signature of parse() and instantiate() to align with dojo.parser's ones.
- The 2nd argument of instantiate(), 'defaultParams', will no longer be mixed-in to widget parameters. It could break the widget, and the behavior is different from dojo.parser.
- Respect the noStart flag. If it is specified, startup() of the instantiated widget will not be called.
- Added support for the html5-style attributes, data-dojo-*.
- FlippableView has been renamed to "dojox.mobile.SwapView".
selected="true" is no longer necessary if you just want to show the first view at startup. If you want to show a view other than the first one, adding selected="true" is still effective.
This module detects mobile devices from User-Agent string, and automatically loads an appropriate theme. The default is the iPhone theme.
You can also explicitly specify which device theme to load via query string in the URL. Below is examples.
- theme=Android
- theme=BlackBerry
- theme=iPad
- theme=iPhone (default)
Ex. test_transition-animations.html?theme=Android