File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
js/ext/angular/src/directive Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 7
7
* left and/or right menu, which a center content area.
8
8
*/
9
9
10
- angular . module ( 'ionic.ui.sideMenu' , [ 'ionic.service.gesture' ] )
10
+ angular . module ( 'ionic.ui.sideMenu' , [ 'ionic.service.gesture' , 'ionic.service.view' ] )
11
11
12
12
/**
13
13
* The internal controller for the side menu controller. This
14
14
* extends our core Ionic side menu controller and exposes
15
15
* some side menu stuff on the current scope.
16
16
*/
17
17
18
+ . run ( [ '$ionicViewService' , function ( $ionicViewService ) {
19
+ // set that the side-menus directive should not animate when transitioning to it
20
+ $ionicViewService . disableRegisterByTagName ( 'side-menus' ) ;
21
+ } ] )
22
+
18
23
. directive ( 'sideMenus' , function ( ) {
19
24
return {
20
25
restrict : 'ECA' ,
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ angular.module('ionic.ui.tabs', ['ionic.service.view'])
7
7
* on a tab bar. Modelled off of UITabBarController.
8
8
*/
9
9
10
+ . run ( [ '$ionicViewService' , function ( $ionicViewService ) {
11
+ // set that the tabs directive should not animate when transitioning
12
+ // to it. Instead, the children <tab> directives would animate
13
+ $ionicViewService . disableRegisterByTagName ( 'tabs' ) ;
14
+ } ] )
15
+
10
16
. directive ( 'tabs' , [ function ( ) {
11
17
return {
12
18
restrict : 'E' ,
You can’t perform that action at this time.
0 commit comments