mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
Other title slides in nicely
This commit is contained in:
5
dist/js/ionic-angular.js
vendored
5
dist/js/ionic-angular.js
vendored
@ -652,8 +652,8 @@ angular.module('ionic.ui.nav', ['ionic.service.templateLoad', 'ionic.service.ges
|
||||
|
||||
clone.addClass(childScope.slideAnimation);
|
||||
|
||||
$animate.addClass(newTitle, childScope.slideTitleAnimation, function() {
|
||||
$animate.removeClass(newTitle, childScope.slideTitleAnimation, function() {
|
||||
$animate.addClass(newTitle, childScope.slideTitleInAnimation, function() {
|
||||
$animate.removeClass(newTitle, childScope.slideTitleInAnimation, function() {
|
||||
newTitle.scope().$destroy();
|
||||
newTitle.remove();
|
||||
});
|
||||
@ -679,6 +679,7 @@ angular.module('ionic.ui.nav', ['ionic.service.templateLoad', 'ionic.service.ges
|
||||
$scope.title = $attr.title;
|
||||
$scope.slideAnimation = $attr.slideAnimation || '';
|
||||
$scope.slideTitleAnimation = $attr.slideTitleAnimation || '';
|
||||
$scope.slideTitleInAnimation = $attr.slideTitleInAnimation || '';
|
||||
|
||||
if($attr.navBar === "false") {
|
||||
navCtrl.hideNavBar();
|
||||
|
||||
Reference in New Issue
Block a user