Closed shanewei closed 11 years ago
why the fade has the same effect of push when i use the doRender(viewName,transition)?
eg: env.onrender = function(doRender){ doRender('test', ['fade', 'z-index=-10']); };
the code equals to this way.
env.onrender = function(doRender){ doRender('test', ['push','right ']); };
The parameter "z-index=-10" is wrong, Please use "doRender('test', ['fade', 'z']); " instead.
Thank you very much!
why the fade has the same effect of push when i use the doRender(viewName,transition)?
eg: env.onrender = function(doRender){ doRender('test', ['fade', 'z-index=-10']); };
the code equals to this way.
env.onrender = function(doRender){ doRender('test', ['push','right ']); };