blago
March 10, 2014, 12:57pm
1
Is it possible to change/disable animations programmatically? I want to disable for side menu interactions but enable when triggered from inside ion-side-menu-content.
Love your project. Thanks,
Blago
See :
hey,
i think i got the main idea. although i have one big question. here is a example code:
angular.module('climb', ['ionic', 'climb.controllers', 'climb.services'])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
.state('menu', {
url: "/menu",
templateUrl: "templates/menu.html",
controller: 'MainCtrl'
})
.state('menu.sectorList', {
url: "/sectorList",
parent:"menu",
views:{
'menuContent':{
templateUrl: "…
With the current ion-nav-view’s you can setup the slide-left-right on your views, but is there any way to specifically dictate which animation? It would be nice to say, this one comes in left, disappears right, or comes in left and disappears left, and possibly another for No Animations. ion-nav-view animation=“slide-left-right”
Looking forward to any updates on this.
Thanks,
David
For now at least, the only real way to do this is inside nested views or with different nav-views using common states.