mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
update how view's set titles, closes #337
This commit is contained in:
5
js/ext/angular/src/service/ionicView.js
vendored
5
js/ext/angular/src/service/ionicView.js
vendored
@@ -357,11 +357,6 @@ angular.module('ionic.service.view', ['ui.router'])
|
||||
}
|
||||
opts.parentElement.append(opts.enteringElement);
|
||||
}
|
||||
|
||||
$rootScope.$broadcast('viewState.viewEnter', {
|
||||
title: (opts.enteringScope ? opts.enteringScope.title : null),
|
||||
navDirection: (opts.navDirection ? opts.navDirection : null)
|
||||
});
|
||||
|
||||
function getAnimationClass(){
|
||||
// go up the ancestors looking for an animation value
|
||||
|
||||
Reference in New Issue
Block a user