在Onsen UI ( http://onsenui.io/ )中,ons.screen.presentPage的默认过渡是页面从底部移动到顶部。我有一个特殊的情况,就是为了其中一个页面,我需要新页面以淡入的方式出现。如何仅为其中一个页面更改presentPage的默认过渡?
<!-- connect.html should fade in after a click on the button -->
<ons-button ng-click="ons.screen.presentPage('connect.html')">
Next
</ons-button>发布于 2014-02-06 07:27:19
这不在1.0中,但我们在路线图中有它,api将是ons.screen.presentPage( url,{动画:'fade‘}
https://stackoverflow.com/questions/21581385
复制相似问题