From 56eb2cf31fcc321a1afdb5f5a171c5b5f33660b9 Mon Sep 17 00:00:00 2001 From: Andy Joslin Date: Wed, 9 Apr 2014 15:41:43 -0600 Subject: [PATCH] docs(ionNavBar): chiefly recommend 'nav-title-slide-ios7' animation --- js/ext/angular/src/directive/ionicNavBar.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/ext/angular/src/directive/ionicNavBar.js b/js/ext/angular/src/directive/ionicNavBar.js index de02f03fcc..01a5da9c38 100644 --- a/js/ext/angular/src/directive/ionicNavBar.js +++ b/js/ext/angular/src/directive/ionicNavBar.js @@ -191,6 +191,8 @@ function($scope, $element, $attrs, $ionicViewService, $animate, $compile, $ionic this._animateTitles = function() { var oldTitleEl, newTitleEl, currentTitles; + console.log('animateTItles'); + //If we have any title right now //(or more than one, they could be transitioning on switch), //replace the first one with an oldTitle element @@ -248,7 +250,7 @@ function($scope, $element, $attrs, $ionicViewService, $animate, $compile, $ionic * {@link ionic.directive:ionNavButtons}. * * Assign an [animation class](/docs/components#animations) to the element to - * enable animated changing of titles (recommended: 'slide-left-right' or 'nav-title-slide-ios7') + * enable animated changing of titles (recommended: 'nav-title-slide-ios7') * * @usage *