Skip to content

+1 Allow to set fixedPixelsBottom, fixedPixelsTop onfly #61

@Sangd8

Description

@Sangd8

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions