Clouda-team / Cloudajs

Clouda Framework - A Realtime Javascript RIA Framework For Mobile WebApp
899 stars 403 forks source link

The issue of fade about the method -- doRender(viewName,transition) #18

Closed shanewei closed 11 years ago

shanewei commented 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 ']); };

jinjinyun commented 11 years ago

The parameter "z-index=-10" is wrong, Please use "doRender('test', ['fade', 'z']); " instead.

shanewei commented 11 years ago

Thank you very much!