Ionic2 配置属性

通过direction可以控制页面是从左往右还是从右往左
goPage( ) {
this.nav.push(Page,{},{animate: true, direction: ‘back’});
}
goBack() {
this.nav.pop({animate: true, direction: ‘forward’})
}

配置属性ios默认值md安卓默认值wp默认值
activator(按钮点击效果)"highlight""ripple"(浪花)"highlight"
actionSheetEnter"action-sheet-slide-in""action-sheet-md-slide-in""action-sheet-wp-slide-in"
actionSheetLeave"action-sheet-slide-out""action-sheet-md-slide-out""action-sheet-wp-slide-out"
alertEnter"alert-pop-in""alert-md-pop-in""alert-wp-pop-in"
alertLeave"alert-pop-out""alert-md-pop-out""alert-wp-pop-out"
backButtonText"Back"""""
backButtonIcon"ios-arrow-back""md-arrow-back""ios-arrow-back"
iconMode"ios""md""ios"
loadingEnter"loading-pop-in""loading-md-pop-in""loading-wp-pop-in"
loadingLeave"loading-pop-out""loading-md-pop-out""loading-wp-pop-out"
menuType"reveal""overlay""overlay"
modalEnter"modal-slide-in""modal-md-slide-in""modal-md-slide-in"
modalLeave"modal-slide-out""modal-md-slide-out""modal-md-slide-out"
pageTransition"ios-transition""md-transition""wp-transition"
pageTransitionDelay169696
pickerEnter"picker-slide-in""picker-slide-in""picker-slide-in"
pickerLeave"picker-slide-out""picker-slide-out""picker-slide-out"
popoverEnter"popover-pop-in""popover-md-pop-in""popover-md-pop-in"
popoverLeave"popover-pop-out""popover-md-pop-out""popover-md-pop-out"
spinner"ios""crescent""circles"
tabsHighlightfalsefalsefalse
tabsLayout"icon-top""icon-top""icon-top"
tabsPlacement"bottom""bottom""top"
tabsHideOnSubPagesfalsefalsetrue
toastEnter"toast-slide-in""toast-md-slide-in""toast-wp-slide-in"
toastLeave"toast-slide-out""toast-md-slide-out""toast-wp-slide-out"
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值