-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Labels
Description
Can you make the options (fixedPixelsBottom, fixedPixelsTop) be changed dynamically onfly?
Because there some screens has tab in the top, i dont want the transition include the tab too. Is it able to do this?
Something like:
$ionicNativeTransitions.nextViewOptions({
fixedPixelsBottom: 50,
fixedPixelsTop: 100
});
$ionicNativeTransitions.stateGo('yourState', {}, {
"type": "slide",
"direction": "up", // 'left|right|up|down', default 'left' (which is like 'next')
"duration": 1500, // in milliseconds (ms), default 400
});
But this adjustment only happen for the next transition like the $ionicHistory.nextViewOptions
http://ionicframework.com/docs/api/service/$ionicHistory/